[PATCH] D12019: [windows] Fix or XFAIL remaining portable test failures and enable them
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 13:14:10 PDT 2015
rnk created this revision.
rnk added a reviewer: samsonov.
rnk added a subscriber: llvm-commits.
Herald added subscribers: srhines, danalbert, tberghammer.
This involved various fixes:
- Move a test that uses ulimit to Posix.
- Add a few "REQUIRES: shell" lines to tests using backtick subshell
evaluation.
- The MSVC CRT buffers stdio if the output is a pipe by default. Some
tests need that disabled to avoid interleaving test stdio with asan
output.
- MSVC headers provide _alloca instead of alloca (go figure), so add a
portability macro to the two alloca tests.
- XFAIL tests that rely on accurate symbols, we need to pass more flags
to make that work.
- MSVC's printf implementation of %p uses upper case letters and doesn't
add 0x, so do that manually.
- Accept "SEGV" or "access-violation" reports in crash tests.
http://reviews.llvm.org/D12019
Files:
test/asan/TestCases/Posix/deep_call_stack.cc
test/asan/TestCases/alloca_loop_unpoisoning.cc
test/asan/TestCases/alloca_vla_interact.cc
test/asan/TestCases/allocator_returns_null.cc
test/asan/TestCases/asan_and_llvm_coverage_test.cc
test/asan/TestCases/atoll_strict.c
test/asan/TestCases/contiguous_container.cc
test/asan/TestCases/coverage-disabled.cc
test/asan/TestCases/debug_report.cc
test/asan/TestCases/debug_stacks.cc
test/asan/TestCases/deep_call_stack.cc
test/asan/TestCases/heavy_uar_test.cc
test/asan/TestCases/initialization-bug.cc
test/asan/TestCases/interception_failure_test.cc
test/asan/TestCases/log-path_test.cc
test/asan/TestCases/mmap_limit_mb.cc
test/asan/TestCases/null_deref.cc
test/asan/TestCases/on_error_callback.cc
test/asan/TestCases/printf-3.c
test/asan/TestCases/sleep_before_dying.c
test/asan/TestCases/stack-oob-frames.cc
test/asan/TestCases/strip_path_prefix.c
test/asan/TestCases/strtol_strict.c
test/asan/TestCases/strtoll_strict.c
test/asan/TestCases/suppressions-function.cc
test/asan/TestCases/suppressions-interceptor.cc
test/asan/TestCases/suppressions-library.cc
test/asan/TestCases/verbose-log-path_test.cc
test/asan/TestCases/zero_page_pc.cc
test/asan/lit.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12019.32089.patch
Type: text/x-patch
Size: 19761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150813/463bef3b/attachment.bin>
More information about the llvm-commits
mailing list