summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-28 00:21:58 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-28 13:14:37 +0200
commit0eb037814b39dc66a2c5549d2310e9853bc8292a (patch)
tree641dd831e60e56662d892059d24d98a3be603d78
parent6b3b631e90aa5f6f9322efcb81e9b13d14d087f0 (diff)
downloadhaskell-0eb037814b39dc66a2c5549d2310e9853bc8292a.tar.gz
Testsuite: do not add -debug explicitly in .T file
This prevents `cannot find -lHSrts_debug_p` when running `make TEST=T9078 WAY=profasm` (#9078).
-rw-r--r--testsuite/tests/rts/T9078.stderr2
-rw-r--r--testsuite/tests/rts/all.T6
2 files changed, 3 insertions, 5 deletions
diff --git a/testsuite/tests/rts/T9078.stderr b/testsuite/tests/rts/T9078.stderr
deleted file mode 100644
index 901a1ca49c..0000000000
--- a/testsuite/tests/rts/T9078.stderr
+++ /dev/null
@@ -1,2 +0,0 @@
-cap 0: initialised
-cap 0: shutting down
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index bfdf3182c1..086f479f7c 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -259,9 +259,9 @@ test('T8124', [ only_ways(threaded_ways), omit_ways(['ghci']),
# The ghci way gets confused by the RTS options
test('T9045', [ omit_ways(['ghci']), extra_run_opts('10000 +RTS -A8k -RTS') ], compile_and_run, [''])
-# I couldn't reproduce 9078 with the -threaded runtime, but could easily
-# with the non-threaded one.
-test('T9078', [ omit_ways(threaded_ways) ], compile_and_run, ['-with-rtsopts="-DS" -debug'])
+# T9078 needs to be compiled with -debug, which threaded1 does for us.
+# Assert failure is reproducible with ghc-7.8.2.
+test('T9078', only_ways(['threaded1']), compile_and_run, [''])
test('T10017', [ when(opsys('mingw32'), skip)
, only_ways(threaded_ways), extra_run_opts('+RTS -N2 -RTS') ], compile_and_run, [''])