Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor test improvements #4309

Merged
merged 5 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions tests/libcxx/expected_results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,12 @@ std/time/time.syn/formatter.year.pass.cpp:2 FAIL
std/ranges/range.factories/range.repeat.view/iterator/minus.pass.cpp:0 FAIL
std/ranges/range.factories/range.repeat.view/iterator/minus.pass.cpp:1 FAIL

# GH-4268: <sstream>, <syncstream>: Buffer types assume that allocated pointers are not modified by users
std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp FAIL
std/input.output/string.streams/stringbuf/stringbuf.members/view.pass.cpp FAIL
std/input.output/syncstream/syncbuf/syncstream.syncbuf.cons/dtor.pass.cpp FAIL
std/input.output/syncstream/syncbuf/syncstream.syncbuf.members/emit.pass.cpp FAIL


# *** VCRUNTIME BUGS ***
# DevCom-10373274 VSO-1824997 "vcruntime nothrow array operator new falls back on the wrong function"
Expand Down Expand Up @@ -570,6 +576,7 @@ std/thread/futures/futures.shared_future/wait_until.pass.cpp SKIPPED
std/thread/futures/futures.unique_future/get.pass.cpp SKIPPED
std/thread/futures/futures.unique_future/wait.pass.cpp SKIPPED
std/thread/futures/futures.unique_future/wait_for.pass.cpp SKIPPED
std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp SKIPPED
StephanTLavavej marked this conversation as resolved.
Show resolved Hide resolved
std/thread/thread.condition/thread.condition.condvar/notify_all.pass.cpp SKIPPED
std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp SKIPPED
std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp SKIPPED
Expand Down Expand Up @@ -1086,12 +1093,6 @@ std/utilities/template.bitset/bitset.members/op_and_eq.pass.cpp FAIL
std/utilities/template.bitset/bitset.members/op_or_eq.pass.cpp FAIL
std/utilities/template.bitset/bitset.members/right_shift_eq.pass.cpp FAIL

# Not analyzed. Assertion failed: _CrtIsValidHeapPointer(block)
std/input.output/string.streams/stringbuf/stringbuf.members/str.pass.cpp FAIL
std/input.output/string.streams/stringbuf/stringbuf.members/view.pass.cpp FAIL
std/input.output/syncstream/syncbuf/syncstream.syncbuf.cons/dtor.pass.cpp FAIL
std/input.output/syncstream/syncbuf/syncstream.syncbuf.members/emit.pass.cpp FAIL

# Not analyzed. In debug mode, looks like a proxy object unexpectedly exhausts an 80-byte buffer.
# In release mode, fails in a later assertion that appears to be testing libc++-specific behavior.
std/input.output/string.streams/istringstream/istringstream.members/str.allocator_propagation.pass.cpp FAIL
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/stl/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def nullContext(value):

def makeReport(cmd, out, err, rc):
report = "Command: \"%s\"\n" % "\" \"".join(cmd)
report += "Exit Code: %d\n" % rc
report += f"Exit Code: {rc} (0x{rc:X})\n"
# Replacing CRLFs with LFs avoids ugly double newlines when this is displayed in Azure Pipelines.
if out:
report += "Standard Output:\n--\n%s--\n" % out.replace("\r\n", "\n")
Expand Down