summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-e/should_fail/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-e/should_fail/all.T')
-rw-r--r--testsuite/tests/ghc-e/should_fail/all.T21
1 files changed, 7 insertions, 14 deletions
diff --git a/testsuite/tests/ghc-e/should_fail/all.T b/testsuite/tests/ghc-e/should_fail/all.T
index 9a75481621..76f9afe0a8 100644
--- a/testsuite/tests/ghc-e/should_fail/all.T
+++ b/testsuite/tests/ghc-e/should_fail/all.T
@@ -1,23 +1,16 @@
-test('T7962', req_interp, run_command,
- ['$MAKE --no-print-directory -s T7962'])
+test('T7962', req_interp, makefile_test, ['T7962'])
-test('T9905fail1', req_interp, run_command,
- ['$MAKE --no-print-directory -s T9905fail1'])
+test('T9905fail1', req_interp, makefile_test, ['T9905fail1'])
-test('T9905fail2', req_interp, run_command,
- ['$MAKE --no-print-directory -s T9905fail2'])
+test('T9905fail2', req_interp, makefile_test, ['T9905fail2'])
-test('T9905fail3', req_interp, run_command,
- ['$MAKE --no-print-directory -s T9905fail3'])
+test('T9905fail3', req_interp, makefile_test, ['T9905fail3'])
-test('ghc-e-fail1', req_interp, run_command,
- ['$MAKE --no-print-directory -s ghc-e-fail1'])
+test('ghc-e-fail1', req_interp, makefile_test, ['ghc-e-fail1'])
-test('ghc-e-fail2', req_interp, run_command,
- ['$MAKE --no-print-directory -s ghc-e-fail2'])
+test('ghc-e-fail2', req_interp, makefile_test, ['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)],
- run_command,
- ['$MAKE --no-print-directory -s T9930fail'])
+ makefile_test, ['T9930fail'])