diff options
| author | Michael Jones <michaelrj@google.com> | 2021-01-29 00:11:35 +0000 |
|---|---|---|
| committer | Michael Jones <michaelrj@google.com> | 2021-02-01 19:19:04 +0000 |
| commit | c73c23f2a91f5a454d782da9918e2160cfe66087 (patch) | |
| tree | bce2989b487df34c3a7a77e7a656a6ea83cd81b7 /libc/test/src/fenv/enabled_exceptions_test.cpp | |
| parent | 5b2626ea87f48eab011b616a96540b9e83c7ca88 (diff) | |
[libc][NFC] Add a death test API adaptation macro
Fuchsia's zxtest has a slightly different death test definition, and
this macro makes our death test API work on Fuchsia.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D95648
Diffstat (limited to 'libc/test/src/fenv/enabled_exceptions_test.cpp')
| -rw-r--r-- | libc/test/src/fenv/enabled_exceptions_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/test/src/fenv/enabled_exceptions_test.cpp b/libc/test/src/fenv/enabled_exceptions_test.cpp index e9c2ae86b8c0..8b8649df3ae9 100644 --- a/libc/test/src/fenv/enabled_exceptions_test.cpp +++ b/libc/test/src/fenv/enabled_exceptions_test.cpp @@ -51,6 +51,6 @@ TEST(LlvmLibcExceptionStatusTest, RaiseAndCrash) { // exception. __llvm_libc::feraiseexcept(e); }, - SIGFPE); + WITH_SIGNAL(SIGFPE)); } } |
