summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog001
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2019-10-30 16:42:30 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-08 05:36:54 -0500
commit9db2e905f974f6b6dae74cb5157c497e056d24f2 (patch)
treeb23a00b956b06fa6dd84d205d6c0a2c48b041396 /testsuite/tests/ghci/prog001
parenta3ce52fd5704247de2360f0e8423834113fe3a71 (diff)
downloadhaskell-9db2e905f974f6b6dae74cb5157c497e056d24f2.tar.gz
Testsuite: Introduce req_rts_linker
Some tests depend on the RTS linker. Introduce a modifier to skip such tests, in case the RTS linker is not available.
Diffstat (limited to 'testsuite/tests/ghci/prog001')
-rw-r--r--testsuite/tests/ghci/prog001/prog001.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/prog001/prog001.T b/testsuite/tests/ghci/prog001/prog001.T
index 7cd60c0b20..3f2d1bea36 100644
--- a/testsuite/tests/ghci/prog001/prog001.T
+++ b/testsuite/tests/ghci/prog001/prog001.T
@@ -1,5 +1,6 @@
test('prog001',
[extra_files(['../shell.hs', 'A.hs', 'B.hs', 'C1.hs', 'D1.hs', 'D2.hs']),
cmd_prefix('ghciWayFlags=' + config.ghci_way_flags),
- unless(opsys('mingw32') or (not config.have_ext_interp), extra_ways(['ghci-ext']))],
+ req_rts_linker,
+ unless(opsys('mingw32'), extra_ways(['ghci-ext']))],
ghci_script, ['prog001.script'])