diff options
| author | Kristina Bessonova <kbessonova@accesssoftek.com> | 2021-04-18 18:46:46 +0200 |
|---|---|---|
| committer | Kristina Bessonova <kbessonova@accesssoftek.com> | 2021-05-18 14:52:34 +0200 |
| commit | 9f4f012c10266c2117f80b7c7eb699aadef0589d (patch) | |
| tree | 103f4b596527d18bbe8a260f907187f218de89fb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 38e2359a11e9be500b38245737e47324d54fe0b4 (diff) | |
[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 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
