summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2019-02-24 01:03:35 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-24 16:23:11 -0500
commit14586f5d737ec5dc828633267b50dcf0d47e1696 (patch)
tree51fc631adde403c49dbd5348c8d52ec2edfb8514
parent9059343e8d1fc94ac62145688d6fdd70a791eaf1 (diff)
downloadhaskell-14586f5d737ec5dc828633267b50dcf0d47e1696.tar.gz
Disable fragile test cases: T14697 T5559 T3424
See Trac #15072, Trac #16349, Trac #16350
-rw-r--r--testsuite/tests/perf/compiler/all.T7
-rw-r--r--testsuite/tests/profiling/should_run/all.T4
-rw-r--r--testsuite/tests/rts/all.T10
3 files changed, 15 insertions, 6 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 82847c2e56..c6548c1970 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -355,8 +355,11 @@ test('T13719',
test('T14697',
[ collect_compiler_stats('bytes allocated',10),
- # This generates too large of a command-line for poor Windows
- when(opsys('mingw32'), expect_broken(15072)),
+ # This generates too large of a command-line for poor Windows and
+ # Darwin. The failure is non-deterministic, so we 'skip' it rather than
+ # 'expect_broken'. The solution is to teach the testsuite driver to
+ # invoke GHC with a response file, see Trac #15072
+ when(opsys('mingw32') or opsys('darwin'), skip),
pre_cmd('./genT14697'),
extra_files(['genT14697']),
extra_hc_opts('$(cat T14697-flags)'), # 10k -optP arguments
diff --git a/testsuite/tests/profiling/should_run/all.T b/testsuite/tests/profiling/should_run/all.T
index 8baddcbe65..9b6018ca81 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -87,7 +87,9 @@ test('prof-doc-fib', [], compile_and_run, [''])
test('prof-doc-last', [], compile_and_run, ['-fno-full-laziness'])
# unicode in cost centre names
-test('T5559', [], compile_and_run, [''])
+test('T5559',
+ [ skip # Skip due to non-deterministic failures on CI, see Trac #16350
+ ], compile_and_run, [''])
# Note [consistent stacks]
# Certain optimisations can change the stacks we get out of the
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 43c07641b4..6808e7e649 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -106,9 +106,13 @@ test('atomicinc', [ c_src, only_ways(['normal','threaded1', 'threaded2']) ], com
test('atomicxchg', [ c_src, only_ways(['threaded1', 'threaded2']) ],
compile_and_run, [''])
-test('T3424', # it's slow:
- [ when(fast(), skip), only_ways(['normal','threaded1','ghci']) ],
- compile_and_run, [''])
+test('T3424',
+ [ # Skip due to non-deterministic timeouts on CI, see Trac #16349
+ when(unregisterised(), skip),
+ # And it's slow in general
+ only_ways(['normal','threaded1','ghci'])
+ ],
+ compile_and_run, [''])
# Test for out-of-range heap size
test('rtsflags001', [ only_ways(['normal']), exit_code(1), extra_run_opts('+RTS -H0m -RTS') ], compile_and_run, [''])