summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/all.T')
-rw-r--r--testsuite/tests/th/all.T5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index 66a7a9fc87..cc9fa4dc96 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -9,8 +9,9 @@ def f(name, opts):
setTestOpts(f)
setTestOpts(req_interp)
# TH should work with -fexternal-interpreter too
-setTestOpts(extra_ways(['ext-interp']))
-setTestOpts(only_ways(['normal','ghci','ext-interp']))
+if config.have_ext_interp :
+ setTestOpts(extra_ways(['ext-interp']))
+ setTestOpts(only_ways(['normal','ghci','ext-interp']))
test('TH_mkName', normal, compile, ['-v0'])
test('TH_1tuple', normal, compile_fail, ['-v0'])