summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal
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/stranal
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/stranal')
-rw-r--r--testsuite/tests/stranal/should_compile/all.T5
-rw-r--r--testsuite/tests/stranal/should_run/all.T2
2 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/stranal/should_compile/all.T b/testsuite/tests/stranal/should_compile/all.T
index 38c15f2b30..c94065b2e4 100644
--- a/testsuite/tests/stranal/should_compile/all.T
+++ b/testsuite/tests/stranal/should_compile/all.T
@@ -36,8 +36,7 @@ test('T9208', when(compiler_debugged(), expect_broken(9208)), compile, [''])
test('T10694', [ grep_errmsg(r'Str=') ], compile, ['-dppr-cols=200 -ddump-simpl'])
test('T11770', [ check_errmsg('OneShot') ], compile, ['-ddump-simpl'])
-test('T13031', normal, run_command,
- ['$MAKE -s --no-print-directory T13031'])
+test('T13031', normal, makefile_test, [])
test('T13077', normal, compile, [''])
test('T13077a', normal, compile, [''])
@@ -48,4 +47,4 @@ test('T13077a', normal, compile, [''])
# don't mention MutVar# and Array# anymore.
test('T15627', [ grep_errmsg(r'(wmutVar|warray).*Int#') ], compile, ['-dppr-cols=200 -ddump-simpl'])
-test('T16029', normal, run_command, ['$MAKE -s --no-print-directory T16029'])
+test('T16029', normal, makefile_test, [])
diff --git a/testsuite/tests/stranal/should_run/all.T b/testsuite/tests/stranal/should_run/all.T
index 4599c9e7d2..f33adac932 100644
--- a/testsuite/tests/stranal/should_run/all.T
+++ b/testsuite/tests/stranal/should_run/all.T
@@ -1,6 +1,6 @@
# Run this always as we compile the test with -O0 and -O1 and check that the
# output is correct and the same in both cases.
-test('T16197', normal, run_command, ['$MAKE -s --no-print-directory T16197'])
+test('T16197', normal, makefile_test, [])
# Run the rest only in optasm way (which implies -O), we're testing the
# strictness analyser here