diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-05-24 19:59:58 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-05-24 20:00:30 +0200 |
commit | a68117db8b42d599aa9669b17cd524b431b3dd94 (patch) | |
tree | 246c5649004b7dd70fff89e7d87a240b713c28c2 /vespalib | |
parent | 70fb7d3afb4960314aee74ae7c8f629e6867f0b3 (diff) |
Disable rlimit checking tests when using address sanitizer.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/tests/exception_classes/silenceuncaught_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp b/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp index f94a298d19f..a57dd917ce0 100644 --- a/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp +++ b/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp @@ -29,6 +29,7 @@ TEST("that caught silenced exception causes exitcode 0") { EXPECT_EQUAL(proc.getExitCode(), 0); } +#ifndef __SANITIZE_ADDRESS__ TEST("that mmap within limits are fine cause exitcode 0") { SlaveProc proc("exec ./vespalib_mmap_app 150000000 10485760 1"); proc.wait(); @@ -50,5 +51,6 @@ TEST("that mmap beyond limits with set VESPA_SILENCE_CORE_ON_OOM cause exitcode EXPECT_EQUAL(proc.getExitCode(), 66); } #endif +#endif TEST_MAIN_WITH_PROCESS_PROXY() { TEST_RUN_ALL(); } |