From 9542ab06e3d52633c0d06c40f54e8e9a125caa51 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Sun, 23 Jun 2019 11:23:15 -0400 Subject: [PATCH] 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. --- testsuite/tests/ghci/T16525a/all.T | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/tests/ghci/T16525a/all.T b/testsuite/tests/ghci/T16525a/all.T index 6fbd3e8a4f9b..a6b9d9074225 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']) -- GitLab