[commit: testsuite] master: Add more cleaning (78e071e)

Ian Lynagh igloo at earth.li
Sat Aug 6 22:51:07 CEST 2011


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/78e071e37b4b786819027868ac878c54c5dfe01a

>---------------------------------------------------------------

commit 78e071e37b4b786819027868ac878c54c5dfe01a
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Aug 6 21:20:20 2011 +0100

    Add more cleaning

>---------------------------------------------------------------

 tests/dph/sumnats/dph-sumnats.T |    4 +++-
 tests/dph/words/dph-words.T     |    4 +++-
 tests/generics/GShow/test.T     |    3 ++-
 tests/generics/Uniplate/test.T  |    4 +++-
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/tests/dph/sumnats/dph-sumnats.T b/tests/dph/sumnats/dph-sumnats.T
index f84757c..c8fbd47 100644
--- a/tests/dph/sumnats/dph-sumnats.T
+++ b/tests/dph/sumnats/dph-sumnats.T
@@ -1,6 +1,8 @@
 
 test    ('dph-sumnats' 
-        , [ reqlib('dph-par')
+        , [ extra_clean(['Main.hi', 'Main.o',
+                         'SumNatsVect.hi', 'SumNatsVect.o'])
+          , reqlib('dph-par')
           , reqlib('dph-prim-par')
           , only_ways(['normal', 'threaded1', 'threaded2']) ] 
         , multimod_compile_and_run 
diff --git a/tests/dph/words/dph-words.T b/tests/dph/words/dph-words.T
index c89d01b..5a1c3ad 100644
--- a/tests/dph/words/dph-words.T
+++ b/tests/dph/words/dph-words.T
@@ -2,6 +2,7 @@
 test    ('dph-words-opt' 
         , [ alone
           , skip_if_fast
+          , extra_clean(['Main.hi', 'Main.o', 'WordsVect.hi', 'WordsVect.o'])
           , reqlib('dph-par')
           , reqlib('dph-prim-par')
           , only_ways(['normal']) ] 
@@ -11,7 +12,8 @@ test    ('dph-words-opt'
 
 
 test    ('dph-words-fast' 
-        , [ reqlib('dph-par')
+        , [ extra_clean(['Main.hi', 'Main.o', 'WordsVect.hi', 'WordsVect.o'])
+          , reqlib('dph-par')
           , reqlib('dph-prim-par')
           , only_ways(['normal']) ] 
         , multimod_compile_and_run 
diff --git a/tests/generics/GShow/test.T b/tests/generics/GShow/test.T
index 68770ba..b100948 100644
--- a/tests/generics/GShow/test.T
+++ b/tests/generics/GShow/test.T
@@ -1,3 +1,4 @@
 setTestOpts(only_compiler_types(['ghc']))
 
-test('GShow1', normal, multimod_compile_and_run, ['Main', ''])
\ No newline at end of file
+test('GShow1', extra_clean(['GShow.hi', 'GShow.o', 'Main.hi', 'Main.o']),
+     multimod_compile_and_run, ['Main', ''])
\ No newline at end of file
diff --git a/tests/generics/Uniplate/test.T b/tests/generics/Uniplate/test.T
index a1e6107..25d76e9 100644
--- a/tests/generics/Uniplate/test.T
+++ b/tests/generics/Uniplate/test.T
@@ -1,3 +1,5 @@
 setTestOpts(only_compiler_types(['ghc']))
 
-test('GUniplate1', normal, multimod_compile_and_run, ['Main', ''])
\ No newline at end of file
+test('GUniplate1', extra_clean(['GUniplate.hi', 'GUniplate.o',
+                                'Main.hi', 'Main.o']),
+     multimod_compile_and_run, ['Main', ''])
\ No newline at end of file





More information about the Cvs-ghc mailing list