From 5a7ca8e2136a067f12996120ec702906479f46d6 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 9 Dec 2021 14:29:11 -0500 Subject: testsuite: Mark various tests as fragile/broken on AArch64/Darwin All of these are fragile or broken on AArch64/Darwin and have unfortunately been extremely resistent to multiple debugging attempts. Even reproducing them has been a extremely challenging. --- .gitlab-ci.yml | 2 -- testsuite/tests/ghc-api/all.T | 3 ++- testsuite/tests/ghci.debugger/scripts/all.T | 1 + testsuite/tests/rts/all.T | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f2d228e58..ec9ad7d267 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -554,8 +554,6 @@ release-x86_64-freebsd: HADRIAN_ARGS: "--docs=no-sphinx" TEST_ENV: "x86_64-darwin-hadrian" BIN_DIST_NAME: "ghc-x86_64-apple-darwin" - # Capi_Ctype_001 Capi_Ctype_002 T12010: Due to #20393 - BROKEN_TESTS: "Capi_Ctype_001 Capi_Ctype_002 T12010" # Due to #19025 IGNORE_PERF_FAILURES: "all" diff --git a/testsuite/tests/ghc-api/all.T b/testsuite/tests/ghc-api/all.T index fa7f7a9348..6865c06d38 100644 --- a/testsuite/tests/ghc-api/all.T +++ b/testsuite/tests/ghc-api/all.T @@ -8,7 +8,8 @@ test('T9595', extra_run_opts('"' + config.libdir + '"'), compile_and_run, ['-package ghc']) test('T10508_api', [ extra_run_opts('"' + config.libdir + '"'), - req_rts_linker ], + req_rts_linker, + when(arch('aarch64') and opsys('darwin'), fragile_for(20804, ['ghci-ext'])) ], compile_and_run, ['-package ghc']) test('T10942', extra_run_opts('"' + config.libdir + '"'), diff --git a/testsuite/tests/ghci.debugger/scripts/all.T b/testsuite/tests/ghci.debugger/scripts/all.T index 30e5c4312c..850939aab3 100644 --- a/testsuite/tests/ghci.debugger/scripts/all.T +++ b/testsuite/tests/ghci.debugger/scripts/all.T @@ -1,5 +1,6 @@ setTestOpts([extra_run_opts('-ignore-dot-ghci'), when(config.have_ext_interp, extra_ways(['ghci-ext'])), # test with -fexternal-interpreter + when(arch('aarch64') and opsys('darwin'), fragile_for(20804, ['ghci-ext'])), normalise_slashes]) diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T index c018b1e3b6..de55fae05e 100644 --- a/testsuite/tests/rts/all.T +++ b/testsuite/tests/rts/all.T @@ -243,7 +243,8 @@ test('T8035', normal, compile_and_run, ['']) test('T8209', [ req_smp, only_ways(threaded_ways), ignore_stdout ], compile_and_run, ['']) -test('T8242', [ req_smp, only_ways(threaded_ways), ignore_stdout ], +test('T8242', [ req_smp, only_ways(threaded_ways), ignore_stdout, + when(arch('aarch64') and opsys('darwin'), expect_broken_for(20804, ['ghci', 'ghci-ext'])) ], compile_and_run, ['']) test('T8124', [ only_ways(threaded_ways), omit_ways(['ghci']), -- cgit v1.2.1