From d29d1d5935995d2417822b8dec99856552a5ac2b Mon Sep 17 00:00:00 2001 From: GHC GitLab CI Date: Tue, 6 Oct 2020 23:40:46 +0000 Subject: testsuite: Skip divbyzero and derefnull under TSAN ThreadSanitizer changes the output of these tests. --- testsuite/tests/rts/all.T | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1