summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/all.T
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-06-27 11:46:20 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-09 22:58:48 -0400
commitd7423f1096b5415928ba1d1d621e066ef4e5b641 (patch)
treee2af0c2c313cc6601d671afd420d90316914dfea /testsuite/tests/driver/all.T
parent7f8bf98ea5b726d3f874faf23d4934765ed1116b (diff)
downloadhaskell-d7423f1096b5415928ba1d1d621e066ef4e5b641.tar.gz
Testsuite tweaks and refactoring
- Rename requires_th to req_th for consistency with other req functions (e.g. req_interp, req_profiling etc.) - req_th (previously requires_th) now checks for interpreter (via req_interp). With this running TH tests are skipped when running the test suite with stage=1. - Test tweaks: - T9360a, T9360b: Use req_interp - recomp009, T13938, RAE_T32a: Use req_th - Fix check-makefiles linter: it now looks for Makefiles instead of .T files (which are actually Python files)
Diffstat (limited to 'testsuite/tests/driver/all.T')
-rw-r--r--testsuite/tests/driver/all.T6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/driver/all.T b/testsuite/tests/driver/all.T
index a3f33c567f..b2187a2517 100644
--- a/testsuite/tests/driver/all.T
+++ b/testsuite/tests/driver/all.T
@@ -227,8 +227,8 @@ test('T365',
[pre_cmd('touch test_preprocessor.txt'), unless(opsys('mingw32'), skip)],
compile_fail, [''])
-test('T9360a', normal, run_command, ['{compiler} --interactive -e "" -ignore-dot-ghci'])
-test('T9360b', normal, run_command, ['{compiler} -e "" --interactive -ignore-dot-ghci'])
+test('T9360a', req_interp, run_command, ['{compiler} --interactive -e "" -ignore-dot-ghci'])
+test('T9360b', req_interp, run_command, ['{compiler} -e "" --interactive -ignore-dot-ghci'])
test('T10970', normal, compile_and_run, [''])
test('T4931', normal, compile_and_run, [''])
@@ -273,6 +273,6 @@ test('T14452', [], makefile_test, [])
test('T15396', normal, compile_and_run, ['-package ghc'])
test('T16737',
[extra_files(['T16737include/']),
- requires_th,
+ req_th,
expect_broken_for(16541, ['ghci'])],
compile_and_run, ['-optP=-isystem -optP=T16737include'])