summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-10-06 23:40:46 +0000
committerBen Gamari <ben@well-typed.com>2020-12-01 12:48:53 -0500
commitd29d1d5935995d2417822b8dec99856552a5ac2b (patch)
tree1c8cde3f9d7a5d0900786b75c0f9ca041c12326e
parentaa2dc3a6a4276928be713d4f76cb693cd5ecf8c4 (diff)
downloadhaskell-d29d1d5935995d2417822b8dec99856552a5ac2b.tar.gz
testsuite: Skip divbyzero and derefnull under TSAN
ThreadSanitizer changes the output of these tests.
-rw-r--r--testsuite/tests/rts/all.T4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index b1611b50b7..233654f075 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -38,6 +38,8 @@ test('derefnull',
when(platform('i386-apple-darwin'), [ignore_stderr, exit_code(139)]),
when(platform('x86_64-apple-darwin'), [ignore_stderr, exit_code(139)]),
when(opsys('mingw32'), [ignore_stderr, exit_code(11)]),
+ # ThreadSanitizer changes the output
+ when(have_thread_sanitizer(), skip),
# since these test are supposed to crash the
# profile report will be empty always.
# so disable the check for profiling
@@ -60,6 +62,8 @@ test('divbyzero',
# The output under OS X is too unstable to readily compare
when(platform('i386-apple-darwin'), [ignore_stderr, exit_code(136)]),
when(platform('x86_64-apple-darwin'), [ignore_stderr, exit_code(136)]),
+ # ThreadSanitizer changes the output
+ when(have_thread_sanitizer(), skip),
# since these test are supposed to crash the
# profile report will be empty always.
# so disable the check for profiling