aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorKristina Bessonova <kbessonova@accesssoftek.com>2021-04-18 18:46:46 +0200
committerKristina Bessonova <kbessonova@accesssoftek.com>2021-05-18 14:52:34 +0200
commit9f4f012c10266c2117f80b7c7eb699aadef0589d (patch)
tree103f4b596527d18bbe8a260f907187f218de89fb /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent38e2359a11e9be500b38245737e47324d54fe0b4 (diff)
downloadllvm-9f4f012c10266c2117f80b7c7eb699aadef0589d.zip
llvm-9f4f012c10266c2117f80b7c7eb699aadef0589d.tar.gz
llvm-9f4f012c10266c2117f80b7c7eb699aadef0589d.tar.bz2
[libcxx][test] Attempt to make debug mode tests more bulletproof
The problem with debug mode tests is that it isn't known which particular _LIBCPP_ASSERT causes the test to exit, and as shown by https://reviews.llvm.org/D100029 and 2908eb20ba7 it might be not the expected one. The patch adds TEST_LIBCPP_ASSERT_FAILURE macro that allows checking _LIBCPP_ASSERT message to ensure we caught an expected failure. Reviewed By: Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D100595
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions