diff options
author | Adin Scannell <ascannell@google.com> | 2020-01-27 22:27:57 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-27 22:28:43 -0800 |
commit | 5d569408ef94c753b7aae9392b5e4ebf7e5ea50d (patch) | |
tree | b34260f2e94e62b4ee3f4bff45644c39fdf0fecd /test/syscalls/linux/exceptions.cc | |
parent | 2a2da5be31ea3c32e66f0c0ff61ef189848f5258 (diff) |
Create platform_util for tests.
PiperOrigin-RevId: 291869423
Diffstat (limited to 'test/syscalls/linux/exceptions.cc')
-rw-r--r-- | test/syscalls/linux/exceptions.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/syscalls/linux/exceptions.cc b/test/syscalls/linux/exceptions.cc index 3d564e720..420b9543f 100644 --- a/test/syscalls/linux/exceptions.cc +++ b/test/syscalls/linux/exceptions.cc @@ -16,6 +16,7 @@ #include "gtest/gtest.h" #include "test/util/logging.h" +#include "test/util/platform_util.h" #include "test/util/signal_util.h" #include "test/util/test_util.h" @@ -324,6 +325,7 @@ TEST(ExceptionTest, AlignmentHalt) { } TEST(ExceptionTest, AlignmentCheck) { + SKIP_IF(PlatformSupportAlignmentCheck() != PlatformSupport::Allowed); // See above. struct sigaction sa = {}; |