summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-10-06 23:40:46 +0000
committerBen Gamari <ben@smart-cactus.org>2020-10-24 21:00:19 -0400
commitd9bc7dea72e0135cd0e969e8b4e977a33cbec906 (patch)
tree8299ada1a58d04f7246577901743c91cac7a671d /testsuite
parent58a5b0e55dfb7bbb95f51ade650b1d45dc2d929c (diff)
downloadhaskell-d9bc7dea72e0135cd0e969e8b4e977a33cbec906.tar.gz
testsuite: Skip divbyzero and derefnull under TSAN
ThreadSanitizer changes the output of these tests.
Diffstat (limited to 'testsuite')
-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 e469783e80..62c893cde1 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
@@ -64,6 +66,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