summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-e/should_fail
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-e/should_fail')
-rw-r--r--testsuite/tests/ghc-e/should_fail/all.T21
1 files changed, 14 insertions, 7 deletions
diff --git a/testsuite/tests/ghc-e/should_fail/all.T b/testsuite/tests/ghc-e/should_fail/all.T
index 76f9afe0a8..9a75481621 100644
--- a/testsuite/tests/ghc-e/should_fail/all.T
+++ b/testsuite/tests/ghc-e/should_fail/all.T
@@ -1,16 +1,23 @@
-test('T7962', req_interp, makefile_test, ['T7962'])
+test('T7962', req_interp, run_command,
+ ['$MAKE --no-print-directory -s T7962'])
-test('T9905fail1', req_interp, makefile_test, ['T9905fail1'])
+test('T9905fail1', req_interp, run_command,
+ ['$MAKE --no-print-directory -s T9905fail1'])
-test('T9905fail2', req_interp, makefile_test, ['T9905fail2'])
+test('T9905fail2', req_interp, run_command,
+ ['$MAKE --no-print-directory -s T9905fail2'])
-test('T9905fail3', req_interp, makefile_test, ['T9905fail3'])
+test('T9905fail3', req_interp, run_command,
+ ['$MAKE --no-print-directory -s T9905fail3'])
-test('ghc-e-fail1', req_interp, makefile_test, ['ghc-e-fail1'])
+test('ghc-e-fail1', req_interp, run_command,
+ ['$MAKE --no-print-directory -s ghc-e-fail1'])
-test('ghc-e-fail2', req_interp, makefile_test, ['ghc-e-fail2'])
+test('ghc-e-fail2', req_interp, run_command,
+ ['$MAKE --no-print-directory -s ghc-e-fail2'])
# Don't run on Windows, as executable is written to T9930.exe
# and no failure is induced.
test('T9930fail', [extra_files(['T9930']), when(opsys('mingw32'), skip)],
- makefile_test, ['T9930fail'])
+ run_command,
+ ['$MAKE --no-print-directory -s T9930fail'])