summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/simplCore/should_compile/all.T')
-rw-r--r--testsuite/tests/simplCore/should_compile/all.T122
1 files changed, 75 insertions, 47 deletions
diff --git a/testsuite/tests/simplCore/should_compile/all.T b/testsuite/tests/simplCore/should_compile/all.T
index 06b5e48447..1f6ef0059f 100644
--- a/testsuite/tests/simplCore/should_compile/all.T
+++ b/testsuite/tests/simplCore/should_compile/all.T
@@ -45,7 +45,8 @@ test('T1647', normal, compile, ['-fdicts-strict -dcore-lint'])
test('T3234',
normal,
- makefile_test, ['T3234'])
+ run_command,
+ ['$MAKE -s --no-print-directory T3234'])
test('T3717', only_ways(['optasm']),
compile,
@@ -62,32 +63,35 @@ test('T4930', only_ways(['optasm']),
compile,
['-O -ddump-simpl -dsuppress-uniques'])
-test('T3055', [], makefile_test, ['T3055'])
+test('T3055', [], run_command, ['$MAKE -s --no-print-directory T3055'])
test('T4306',
normal,
- makefile_test, ['T4306'])
+ run_command,
+ ['$MAKE -s --no-print-directory T4306'])
test('T4201',
normal,
- makefile_test, ['T4201'])
+ run_command,
+ ['$MAKE -s --no-print-directory T4201'])
test('T3772',
# only_ways(['optasm']),
extra_clean(['T3772_A.hi', 'T3772_A.o']),
- makefile_test, ['T3772'])
+ run_command, ['$MAKE -s --no-print-directory T3772'])
test('EvalTest',
normal,
- makefile_test, ['EvalTest'])
+ run_command,
+ ['$MAKE -s --no-print-directory EvalTest'])
test('T3831', normal, compile, [''])
test('T4345', normal, compile, [''])
test('T4398', normal, compile, ['-dsuppress-uniques'])
-test('T4903', [], makefile_test, ['T4903'])
+test('T4903', [], run_command, ['$MAKE -s --no-print-directory T4903'])
-test('T4918', [], makefile_test, ['T4918'])
+test('T4918', [], run_command, ['$MAKE -s --no-print-directory T4918'])
# This test flips too and fro about whether it passes
# I'm not sure why it is so delicate, but it greps the
@@ -95,15 +99,18 @@ test('T4918', [], makefile_test, ['T4918'])
# be very stable
test('T4945',
normal,
- makefile_test, ['T4945'])
+ run_command,
+ ['$MAKE -s --no-print-directory T4945'])
test('T4957',
normal,
- makefile_test, ['T4957'])
+ run_command,
+ ['$MAKE -s --no-print-directory T4957'])
test('T5168',
normal,
- makefile_test, ['T5168'])
+ run_command,
+ ['$MAKE -s --no-print-directory T5168'])
test('T5329', normal, compile, [''])
test('T5303', normal, compile, ['']) # Coercion-optimisation test
@@ -111,29 +118,32 @@ test('T5342', normal, compile, ['']) # Lint error with -prof
test('T5359a', normal, compile, ['']) # Lint error with -O (OccurAnal)
test('T5359b', normal, compile, ['']) # Lint error with -O (OccurAnal)
test('T5458', normal, compile, [''])
-test('simpl021', [extra_files(['Simpl021A.hs', 'Simpl021B.hs'])], makefile_test, ['simpl021'])
-test('T5327', normal, makefile_test, ['T5327'])
-test('T5615', normal, makefile_test, ['T5615'])
-test('T5623', normal, makefile_test, ['T5623'])
-test('T13155', normal, makefile_test, ['T13155'])
+test('simpl021', [extra_files(['Simpl021A.hs', 'Simpl021B.hs'])], run_command, ['$MAKE -s --no-print-directory simpl021'])
+test('T5327', normal, run_command, ['$MAKE -s --no-print-directory T5327'])
+test('T5615', normal, run_command, ['$MAKE -s --no-print-directory T5615'])
+test('T5623', normal, run_command, ['$MAKE -s --no-print-directory T5623'])
+test('T13155', normal, run_command, ['$MAKE -s --no-print-directory T13155'])
test('T5658b',
normal,
- makefile_test, ['T5658b'])
+ run_command,
+ ['$MAKE -s --no-print-directory T5658b'])
test('T5776',
normal,
- makefile_test, ['T5776'])
-test('T4138', [], makefile_test, ['T4138'])
+ run_command,
+ ['$MAKE -s --no-print-directory T5776'])
+test('T4138', [], run_command, ['$MAKE -s --no-print-directory T4138'])
test('T7088', normal, compile, [''])
test('T6082-RULE', normal, compile, [''])
-test('T7165', [], makefile_test, ['T7165'])
+test('T7165', [], run_command, ['$MAKE -s --no-print-directory T7165'])
test('T7287', normal, compile, [''])
test('T7360', only_ways(['optasm']), compile, ['-ddump-simpl -dsuppress-uniques'])
test('T5366',
normal,
- makefile_test, ['T5366'])
-test('T7796', [], makefile_test, ['T7796'])
+ run_command,
+ ['$MAKE -s --no-print-directory T5366'])
+test('T7796', [], run_command, ['$MAKE -s --no-print-directory T7796'])
test('T5550', omit_ways(prof_ways), compile, [''])
-test('T7865', normal, makefile_test, ['T7865'])
+test('T7865', normal, run_command, ['$MAKE -s --no-print-directory T7865'])
test('T7785', only_ways(['optasm']), compile, ['-ddump-rules'])
test('T7702',
[extra_files(['T7702plugin']),
@@ -161,23 +171,27 @@ test('T7995',
# RULE doesn't seem to fire unless optimizations are turned on.
# This seems reasonable, so I've required it for the test. -- EZY 20130720
only_ways(['optasm']),
- makefile_test, ['T7995'])
+ run_command,
+ ['$MAKE -s --no-print-directory T7995'])
test('T8196', normal, compile, [''])
test('T8221b', normal, compile, [''])
-test('T8221', [], makefile_test, ['T8221'])
-test('T8274', normal, makefile_test, ['T8274'])
+test('T8221', [], run_command, ['$MAKE -s --no-print-directory T8221'])
+test('T8274', normal, run_command, ['$MAKE -s --no-print-directory T8274'])
test('T8329', only_ways(['optasm']), multimod_compile, ['T8329','-v0 -O'])
test('T5996',
normal,
- makefile_test, ['T5996'])
+ run_command,
+ ['$MAKE -s --no-print-directory T5996'])
test('T8537', normal, compile, [''])
test('T8832',
normal,
- run_command, ['$MAKE -s --no-print-directory T8832 T8832_WORDSIZE_OPTS=' +
+ run_command,
+ ['$MAKE -s --no-print-directory T8832 T8832_WORDSIZE_OPTS=' +
('-DT8832_WORDSIZE_64' if wordsize(64) else '')])
test('T8848', normal,
- makefile_test, ['T8848'])
+ run_command,
+ ['$MAKE -s --no-print-directory T8848'])
test('T8848a', only_ways(['optasm']), compile, ['-ddump-rules'])
test('T8331', only_ways(['optasm']), compile, ['-ddump-rules'])
test('T6056', only_ways(['optasm']), multimod_compile, ['T6056', '-v0 -ddump-rule-firings'])
@@ -195,18 +209,21 @@ test('T10627', only_ways(['optasm']), compile, [''])
test('T10181', [only_ways(['optasm'])], compile, [''])
test('T10083',
normal,
- makefile_test, ['T10083'])
+ run_command,
+ ['$MAKE -s --no-print-directory T10083'])
test('T10689', normal, compile, [''])
test('T11155',
normal,
- makefile_test, ['T11155'])
+ run_command,
+ ['$MAKE -s --no-print-directory T11155'])
test('T11232', normal, compile, ['-O2'])
test('T11562', normal, compile, ['-O2'])
test('T11742', normal, compile, ['-O2'])
test('T11644', normal, compile, ['-O2'])
test('T3990',
normal,
- makefile_test, ['T3990'])
+ run_command,
+ ['$MAKE -s --no-print-directory T3990'])
test('T12076', [], multimod_compile, ['T12076', '-v0'])
test('T12076lit', normal, compile, ['-O'])
@@ -218,41 +235,49 @@ test('par01', only_ways(['optasm']), compile, ['-ddump-prep -dsuppress-uniques -
test('T12776', normal, compile, ['-O2'])
test('T9509',
normal,
- makefile_test, ['T9509'])
+ run_command,
+ ['$MAKE -s --no-print-directory T9509'])
test('T12603',
normal,
- makefile_test, ['T12603'])
-test('T12877', normal, makefile_test, ['T12877'])
+ run_command,
+ ['$MAKE -s --no-print-directory T12603'])
+test('T12877', normal, run_command, ['$MAKE -s --no-print-directory T12877'])
test('T13027', normal, compile, [''])
test('T13025',
normal,
- makefile_test, ['T13025'])
+ run_command,
+ ['$MAKE -s --no-print-directory T13025'])
test('T13143', only_ways(['optasm']), compile, ['-O -ddump-simpl -dsuppress-uniques'])
-test('T13156', normal, makefile_test, ['T13156'])
+test('T13156', normal, run_command, ['$MAKE -s --no-print-directory T13156'])
test('T11444', normal, compile, [''])
test('str-rules',
normal,
- makefile_test, ['str-rules'])
+ run_command,
+ ['$MAKE -s --no-print-directory str-rules'])
test('T13170', only_ways(['optasm']), compile, ['-dcore-lint'])
test('T13317',
normal,
- makefile_test, ['T13317'])
-test('T13340', normal, makefile_test, ['T13340'])
+ run_command,
+ ['$MAKE -s --no-print-directory T13317'])
+test('T13340', normal, run_command, ['$MAKE -s --no-print-directory T13340'])
test('T13338', only_ways(['optasm']), compile, ['-dcore-lint'])
-test('T13367', normal, makefile_test, ['T13367'])
+test('T13367', normal, run_command, ['$MAKE -s --no-print-directory T13367'])
test('T13417', normal, compile, ['-O'])
test('T13413', normal, compile, [''])
test('T13410', normal, compile, ['-O2'])
test('T13468',
normal,
- makefile_test, ['T13468'])
+ run_command,
+ ['$MAKE -s --no-print-directory T13468'])
test('T13543', only_ways(['optasm']), compile, ['-ddump-str-signatures'])
test('T11272',
normal,
- makefile_test, ['T11272'])
+ run_command,
+ ['$MAKE -s --no-print-directory T11272'])
test('T12600',
normal,
- makefile_test, ['T12600'])
+ run_command,
+ ['$MAKE -s --no-print-directory T12600'])
test('T13658',
[when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
compile, ['-dcore-lint'])
@@ -272,7 +297,8 @@ test('T14186', [ only_ways(['optasm']), check_errmsg(r'bar = foo') ], compile, [
test('T14140',
normal,
- makefile_test, ['T14140'])
+ run_command,
+ ['$MAKE -s --no-print-directory T14140'])
test('T14272', normal, compile, [''])
test('T14270a', normal, compile, [''])
@@ -285,7 +311,8 @@ test('T14650', normal, compile, ['-O2'])
test('T14959', normal, compile, ['-O'])
test('T14978',
normal,
- makefile_test, ['T14978'])
+ run_command,
+ ['$MAKE -s --no-print-directory T14978'])
test('T15002', [ req_profiling ], compile, ['-O -fprof-auto -prof'])
test('T15005', normal, compile, ['-O'])
# we omit profiling because it affects the optimiser and makes the test fail
@@ -297,5 +324,6 @@ test('T15453', normal, compile, ['-dcore-lint -O1'])
test('T15445', normal, multimod_compile, ['T15445', '-v0 -O -ddump-rule-firings'])
test('T15631',
normal,
- makefile_test, ['T15631'])
+ run_command,
+ ['$MAKE -s --no-print-directory T15631'])
test('T15673', normal, compile, ['-O'])