summaryrefslogtreecommitdiff
path: root/testsuite/tests/hsc2hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-20 23:46:13 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-30 10:06:31 -0500
commit513a449c9dd10887d6dc757d55286749b2594b09 (patch)
tree2c7e4be10c5b676885932789457f64738748db2e /testsuite/tests/hsc2hs
parentbdb559a60a18318b6130f399f158739118237f9b (diff)
downloadhaskell-513a449c9dd10887d6dc757d55286749b2594b09.tar.gz
testsuite: Use makefile_test
This eliminates most uses of run_command in the testsuite in favor of the more structured makefile_test.
Diffstat (limited to 'testsuite/tests/hsc2hs')
-rw-r--r--testsuite/tests/hsc2hs/all.T21
1 files changed, 10 insertions, 11 deletions
diff --git a/testsuite/tests/hsc2hs/all.T b/testsuite/tests/hsc2hs/all.T
index d42f38589f..ab67d012ee 100644
--- a/testsuite/tests/hsc2hs/all.T
+++ b/testsuite/tests/hsc2hs/all.T
@@ -1,23 +1,22 @@
-test('hsc2hs001', [], run_command, ['$MAKE -s --no-print-directory hsc2hs001'])
+test('hsc2hs001', [], makefile_test, [])
-test('hsc2hs002', [], run_command, ['$MAKE -s --no-print-directory hsc2hs002'])
+test('hsc2hs002', [], makefile_test, [])
-test('hsc2hs003', [], run_command, ['$MAKE -s --no-print-directory hsc2hs003'])
+test('hsc2hs003', [], makefile_test, [])
-test('hsc2hs004', [], run_command, ['$MAKE -s --no-print-directory hsc2hs004'])
+test('hsc2hs004', [], makefile_test, [])
-test('T3837', [], run_command, ['$MAKE -s --no-print-directory T3837'])
+test('T3837', [], makefile_test, [])
-test('T4340', [], run_command, ['$MAKE -s --no-print-directory T4340'])
+test('T4340', [], makefile_test, [])
-test('T10272', [], run_command, ['$MAKE -s --no-print-directory T10272'])
+test('T10272', [], makefile_test, [])
-test('T11004', [], run_command, ['$MAKE -s --no-print-directory T11004'])
+test('T11004', [], makefile_test, [])
-test('T12504', [extra_files(['T12504']), ignore_stdout], run_command,
- ['$MAKE -s --no-print-directory T12504'])
+test('T12504', [extra_files(['T12504']), ignore_stdout], makefile_test, [])
# Make sure response files are read and used.
-test('T15758', [], run_command, ['$MAKE -s --no-print-directory T15758'])
+test('T15758', [], makefile_test, [])