summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-08-06 20:08:44 +0100
committerIan Lynagh <igloo@earth.li>2011-08-06 21:03:50 +0100
commit7b04db1c9b2379911617729ec8d70fd74bb056ad (patch)
treea5cbdbcf4be8246f9d73ad8501446e050f26e23c /testsuite/tests
parent6f663a6488ae83e5dbe20ad5a5272549807dab45 (diff)
downloadhaskell-7b04db1c9b2379911617729ec8d70fd74bb056ad.tar.gz
Add extra cleaning
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/dph/dotp/dph-dotp.T4
-rw-r--r--testsuite/tests/dph/primespj/dph-primespj.T4
-rw-r--r--testsuite/tests/dph/quickhull/dph-quickhull.T12
-rw-r--r--testsuite/tests/parser/should_compile/all.T4
-rw-r--r--testsuite/tests/perf/should_run/all.T3
5 files changed, 22 insertions, 5 deletions
diff --git a/testsuite/tests/dph/dotp/dph-dotp.T b/testsuite/tests/dph/dotp/dph-dotp.T
index 2ebab9da24..ae43a61a04 100644
--- a/testsuite/tests/dph/dotp/dph-dotp.T
+++ b/testsuite/tests/dph/dotp/dph-dotp.T
@@ -2,6 +2,7 @@
test ('dph-dotp-opt'
, [ alone
, skip_if_fast
+ , extra_clean(['Main.o', 'Main.hi', 'DotPVect.hi', 'DotPVect.o'])
, reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2']) ]
@@ -10,7 +11,8 @@ test ('dph-dotp-opt'
, '-Odph -fdph-par'])
test ('dph-dotp-fast'
- , [ reqlib('dph-par')
+ , [ extra_clean(['Main.o', 'Main.hi', 'DotPVect.hi', 'DotPVect.o'])
+ , reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2']) ]
, multimod_compile_and_run
diff --git a/testsuite/tests/dph/primespj/dph-primespj.T b/testsuite/tests/dph/primespj/dph-primespj.T
index 458490456b..6eef9afca0 100644
--- a/testsuite/tests/dph/primespj/dph-primespj.T
+++ b/testsuite/tests/dph/primespj/dph-primespj.T
@@ -2,6 +2,7 @@
test ('dph-primespj-opt'
, [ alone
, skip_if_fast
+ , extra_clean(['Main.hi', 'Main.o', 'PrimesVect.hi', 'PrimesVect.o'])
, reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2']) ]
@@ -10,7 +11,8 @@ test ('dph-primespj-opt'
, '-Odph -fdph-par'])
test ('dph-primespj-fast'
- , [ reqlib('dph-par')
+ , [ extra_clean(['Main.hi', 'Main.o', 'PrimesVect.hi', 'PrimesVect.o'])
+ , reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2']) ]
, multimod_compile_and_run
diff --git a/testsuite/tests/dph/quickhull/dph-quickhull.T b/testsuite/tests/dph/quickhull/dph-quickhull.T
index f1a1debe3f..addaf1d83f 100644
--- a/testsuite/tests/dph/quickhull/dph-quickhull.T
+++ b/testsuite/tests/dph/quickhull/dph-quickhull.T
@@ -2,6 +2,11 @@
test ('dph-quickhull-opt'
, [ alone
, skip_if_fast
+ , extra_clean(['Main.hi', 'Main.o',
+ 'QuickHullVect.hi', 'QuickHullVect.o',
+ 'SVG.hi', 'SVG.o',
+ 'TestData.hi', 'TestData.o',
+ 'Types.hi', 'Types.o'])
, reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2']) ]
@@ -10,7 +15,12 @@ test ('dph-quickhull-opt'
, '-Odph -funfolding-use-threshold30 -fdph-par'])
test ('dph-quickhull-fast'
- , [ reqlib('dph-par')
+ , [ extra_clean(['Main.hi', 'Main.o',
+ 'QuickHullVect.hi', 'QuickHullVect.o',
+ 'SVG.hi', 'SVG.o',
+ 'TestData.hi', 'TestData.o',
+ 'Types.hi', 'Types.o'])
+ , reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2']) ]
, multimod_compile_and_run
diff --git a/testsuite/tests/parser/should_compile/all.T b/testsuite/tests/parser/should_compile/all.T
index 328c0651c3..0ac301ede1 100644
--- a/testsuite/tests/parser/should_compile/all.T
+++ b/testsuite/tests/parser/should_compile/all.T
@@ -91,4 +91,6 @@ test('mc15', normal, compile, [''])
test('mc16', normal, compile, [''])
test('EmptyDecls', normal, compile, [''])
-test('T5243', normal, multimod_compile, ['T5243',''])
+test('T5243', extra_clean(['T5243A.hi', 'T5243A.o']),
+ multimod_compile, ['T5243',''])
+
diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T
index 04133979df..5579a1a3fd 100644
--- a/testsuite/tests/perf/should_run/all.T
+++ b/testsuite/tests/perf/should_run/all.T
@@ -54,7 +54,8 @@ test('T4321', omit_ways(['ghci']), compile_and_run, ['-O ' + sse2_opts])
test('T3736', normal, run_command, ['$MAKE -s --no-print-directory T3736'])
test('T3738',
- [stats_num_field('peak_megabytes_allocated', 1,
+ [extra_clean(['T3738a.hi', 'T3738a.o']),
+ stats_num_field('peak_megabytes_allocated', 1,
1),
# expected value: 1 (amd64/Linux)
# expected value: 45648 (x86/Linux):