summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2019-01-30 01:06:12 -0500
committerBen Gamari <ben@well-typed.com>2019-01-30 01:06:12 -0500
commit76c8fd674435a652c75a96c85abbf26f1f221876 (patch)
treeb02a6f5307a20efc25ddb27c58977069b48972b6 /testsuite/tests/rename
parent7cdcd3e12a5c3a337e36fa80c64bd72e5ef79b24 (diff)
downloadhaskell-76c8fd674435a652c75a96c85abbf26f1f221876.tar.gz
Batch merge
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/prog006/all.T3
-rw-r--r--testsuite/tests/rename/should_compile/all.T19
-rw-r--r--testsuite/tests/rename/should_fail/all.T3
3 files changed, 11 insertions, 14 deletions
diff --git a/testsuite/tests/rename/prog006/all.T b/testsuite/tests/rename/prog006/all.T
index e119232e0b..3a956d702a 100644
--- a/testsuite/tests/rename/prog006/all.T
+++ b/testsuite/tests/rename/prog006/all.T
@@ -1,2 +1 @@
-test('rn.prog006', [extra_files(['A.hs', 'B/', 'Main.hs', 'pwd.hs'])], run_command,
- ['$MAKE -s --no-print-directory rn.prog006'])
+test('rn.prog006', [extra_files(['A.hs', 'B/', 'Main.hs', 'pwd.hs'])], makefile_test, [])
diff --git a/testsuite/tests/rename/should_compile/all.T b/testsuite/tests/rename/should_compile/all.T
index a7c8da4671..0c60360e17 100644
--- a/testsuite/tests/rename/should_compile/all.T
+++ b/testsuite/tests/rename/should_compile/all.T
@@ -99,17 +99,16 @@ test('timing001', normal, compile, [''])
test('timing002', normal, compile, [''])
test('timing003', normal, compile, [''])
-test('T1792_imports', [], run_command,
- ['$MAKE -s --no-print-directory T1792_imports'])
+test('T1792_imports', [], makefile_test, ['T1792_imports'])
-test('T3823', [], run_command, ['$MAKE -s --no-print-directory T3823'])
+test('T3823', [], makefile_test, ['T3823'])
-test('T4003', [], run_command, ['$MAKE -s --no-print-directory T4003'])
+test('T4003', [], makefile_test, ['T4003'])
test('T1789', normal, compile, [''])
test('T1789_2', normal, compile, [''])
-test('T3449', [], run_command, ['$MAKE -s --no-print-directory T3449'])
-test('T4239', [], run_command, ['$MAKE -s --no-print-directory T4239'])
-test('T4240', [], run_command, ['$MAKE -s --no-print-directory T4240'])
+test('T3449', [], makefile_test, ['T3449'])
+test('T4239', [], makefile_test, ['T4239'])
+test('T4240', [], makefile_test, ['T4240'])
test('T4489', normal, compile, [''])
test('T4478', normal, compile, [''])
@@ -138,8 +137,8 @@ test('T7336', expect_broken(7336), compile, ['-Wall'])
test('T2435', normal, multimod_compile, ['T2435','-v0'])
test('T7672', normal, multimod_compile, ['T7672','-v0'])
-test('T7963', [], run_command, ['$MAKE -s --no-print-directory T7963'])
-test('T7969', [], run_command, ['$MAKE -s --no-print-directory T7969'])
+test('T7963', [], makefile_test, ['T7963'])
+test('T7969', [], makefile_test, ['T7969'])
test('T9127', normal, compile, [''])
test('T4426', normal, compile_fail, [''])
test('T9778', normal, compile, ['-fwarn-unticked-promoted-constructors'])
@@ -162,7 +161,7 @@ test('T14487', [], multimod_compile, ['T14487', '-v0'])
test('T14747', [], multimod_compile, ['T14747', '-v0'])
test('T15149', [], multimod_compile, ['T15149', '-v0'])
test('T13064', normal, compile, [''])
-test('T15994', [], run_command, ['$MAKE -s --no-print-directory T15994'])
+test('T15994', [], makefile_test, ['T15994'])
test('T15798a', normal, compile, [''])
test('T15798b', normal, compile, [''])
test('T15798c', normal, compile, [''])
diff --git a/testsuite/tests/rename/should_fail/all.T b/testsuite/tests/rename/should_fail/all.T
index 03ee63b449..ce8c5c9a13 100644
--- a/testsuite/tests/rename/should_fail/all.T
+++ b/testsuite/tests/rename/should_fail/all.T
@@ -110,8 +110,7 @@ test('T9815', normal, compile_fail, [''])
test('T9032',
normal,
- run_command,
- ['$MAKE -s --no-print-directory T9032'])
+ makefile_test, [])
test('T10618', normal, compile_fail, [''])
test('T10668', normal, compile_fail, [''])
test('T5001b', normal, compile_fail, [''])