summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-23 11:23:15 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-25 08:38:22 -0400
commit9542ab06e3d52633c0d06c40f54e8e9a125caa51 (patch)
treeb2ee11b5576631cdc33ff4cf48b903c97d80ac3c
parent95f56853d6288076551a5326ad7b4778742a51ce (diff)
downloadhaskell-9542ab06e3d52633c0d06c40f54e8e9a125caa51.tar.gz
testsuite: Don't run T16525a with -DS unless compiler_debugged
Originally I was thinking of just skipping the test unless compiled_debugged==True. However, the test will likely be useful even without -DS, so let's run it either way.
-rw-r--r--testsuite/tests/ghci/T16525a/all.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/T16525a/all.T b/testsuite/tests/ghci/T16525a/all.T
index 6fbd3e8a4f..a6b9d90742 100644
--- a/testsuite/tests/ghci/T16525a/all.T
+++ b/testsuite/tests/ghci/T16525a/all.T
@@ -1,5 +1,6 @@
test('T16525a',
[extra_files(['A.hs', 'B.hs', ]),
- extra_run_opts('+RTS -DS -RTS'),
+ when(compiler_debugged(), extra_run_opts('+RTS -DS -RTS')),
+ # We don't support unloading with the dynamic linker
when(ghc_dynamic(), skip), ],
ghci_script, ['T16525a.script'])