summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2022-10-19 15:44:54 +0200
committerSylvain Henry <sylvain@haskus.fr>2022-10-26 09:32:20 +0200
commit9ab31f42da8796363187e387c4085e8c9197f4e5 (patch)
tree6e3ea5351a597680b5a01838a7e9d191a8fa576f /testsuite/tests/annotations
parent0270cc54481bef9630274e77c2750940c1a4eff5 (diff)
downloadhaskell-9ab31f42da8796363187e387c4085e8c9197f4e5.tar.gz
Testsuite: more precise test options
Necessary for newer cross-compiling backends (JS, Wasm) that don't support TH yet.
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r--testsuite/tests/annotations/should_fail/all.T14
-rw-r--r--testsuite/tests/annotations/should_run/all.T1
2 files changed, 8 insertions, 7 deletions
diff --git a/testsuite/tests/annotations/should_fail/all.T b/testsuite/tests/annotations/should_fail/all.T
index 1f160a0d77..29f6c7488d 100644
--- a/testsuite/tests/annotations/should_fail/all.T
+++ b/testsuite/tests/annotations/should_fail/all.T
@@ -1,6 +1,6 @@
-test('annfail01', normal, compile_fail, [''])
-test('annfail02', normal, compile_fail, [''])
+test('annfail01', req_interp, compile_fail, [''])
+test('annfail02', req_interp, compile_fail, [''])
test('annfail03', req_interp, compile_fail, [''])
test('annfail04', [extra_files(['Annfail04_Help.hs']),
req_interp], multimod_compile_fail, ['annfail04', '-v0'])
@@ -12,12 +12,12 @@ test('annfail07', req_interp, compile_fail, [''])
test('annfail08', req_interp, compile_fail, [''])
test('annfail09', req_interp, compile_fail, [''])
test('annfail10', req_interp, compile_fail, [''])
-test('annfail11', normal, compile_fail, [''])
+test('annfail11', req_interp, compile_fail, [''])
test('annfail12', req_interp, compile_fail, ['-v0'])
-test('annfail13', normal, compile_fail, [''])
-test('T10826', normal, compile_fail, [''])
-test('T19374b', normal, compile_fail, [''])
-test('T19374c', normal, compile_fail, [''])
+test('annfail13', req_interp, compile_fail, [''])
+test('T10826', req_interp, compile_fail, [''])
+test('T19374b', req_interp, compile_fail, [''])
+test('T19374c', req_interp, compile_fail, [''])
""""
Helpful things to C+P:
diff --git a/testsuite/tests/annotations/should_run/all.T b/testsuite/tests/annotations/should_run/all.T
index 0c2acc7f63..e0fd311dcd 100644
--- a/testsuite/tests/annotations/should_run/all.T
+++ b/testsuite/tests/annotations/should_run/all.T
@@ -8,6 +8,7 @@ setTestOpts(when(fast(), skip))
# config.ghc_th_way_flags.
test('annrun01',
[extra_files(['Annrun01_Help.hs']),
+ req_interp,
pre_cmd('$MAKE -s --no-print-directory config'),
omit_ways(['dyn'] + prof_ways)],
multimod_compile_and_run,