diff options
author | Florian Mayer <fmayer@google.com> | 2022-04-15 22:53:51 +0000 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2022-04-15 23:15:26 +0000 |
commit | 4817ca64bb83ad03328f52e47dd953dcdb2e57e6 (patch) | |
tree | 1ee89b12d94899dcee27cffe2af54949a329cdde | |
parent | 750dcd326e79f5db71851b1b001c45e02eb290ea (diff) | |
download | bionic-4817ca64bb83ad03328f52e47dd953dcdb2e57e6.tar.gz |
Skip setjmp.bug_152210274 on HWASan.
Bug: 227390656
Change-Id: Ic6dc89d844bab4aba93132b3af7942961d3af644
-rw-r--r-- | tests/setjmp_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/setjmp_test.cpp b/tests/setjmp_test.cpp index ee126eb11..472aa205b 100644 --- a/tests/setjmp_test.cpp +++ b/tests/setjmp_test.cpp @@ -22,6 +22,7 @@ #include <unistd.h> #include <android-base/silent_death_test.h> +#include <android-base/test_utils.h> #include "SignalUtils.h" @@ -273,6 +274,7 @@ TEST(setjmp, setjmp_stack) { } TEST(setjmp, bug_152210274) { + SKIP_WITH_HWASAN; // b/227390656 // Ensure that we never have a mangled value in the stack pointer. #if defined(__BIONIC__) struct sigaction sa = {.sa_flags = SA_SIGINFO, .sa_sigaction = [](int, siginfo_t*, void*) {}}; |