[commit: testsuite] master: Rename files and fix cleaning for GEq1 (c6d6218)

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


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/c6d6218628844f5e98e7d4851c3573832a5c2f92

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

commit c6d6218628844f5e98e7d4851c3573832a5c2f92
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Aug 6 21:19:51 2011 +0100

    Rename files and fix cleaning for GEq1

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

 tests/generics/GEq/{Main.hs => GEq1.hs} |    2 +-
 tests/generics/GEq/{GEq.hs => GEq1A.hs} |    2 +-
 tests/generics/GEq/test.T               |    3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/generics/GEq/Main.hs b/tests/generics/GEq/GEq1.hs
similarity index 98%
rename from tests/generics/GEq/Main.hs
rename to tests/generics/GEq/GEq1.hs
index bc1fbd5..01dedec 100644
--- a/tests/generics/GEq/Main.hs
+++ b/tests/generics/GEq/GEq1.hs
@@ -3,7 +3,7 @@
 module Main where
 
 import GHC.Generics hiding (C, D)
-import GEq
+import GEq1A
 
 -- We should be able to generate a generic representation for these types
 
diff --git a/tests/generics/GEq/GEq.hs b/tests/generics/GEq/GEq1A.hs
similarity index 98%
rename from tests/generics/GEq/GEq.hs
rename to tests/generics/GEq/GEq1A.hs
index 54caad3..6450091 100644
--- a/tests/generics/GEq/GEq.hs
+++ b/tests/generics/GEq/GEq1A.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE TypeOperators, DefaultSignatures, FlexibleContexts, FlexibleInstances #-}
 
-module GEq where
+module GEq1A where
 
 import GHC.Generics
 
diff --git a/tests/generics/GEq/test.T b/tests/generics/GEq/test.T
index 363cb48..a26bfe9 100644
--- a/tests/generics/GEq/test.T
+++ b/tests/generics/GEq/test.T
@@ -1,4 +1,5 @@
 setTestOpts(only_compiler_types(['ghc']))
 
-test('GEq1', normal, multimod_compile_and_run, ['Main', ''])
+test('GEq1', extra_clean(['GEq1A.hi', 'GEq1A.o']),
+     multimod_compile_and_run, ['GEq1', ''])
 test('GEq2', normal, multimod_compile_and_run, ['GEq2', ''])
\ No newline at end of file





More information about the Cvs-ghc mailing list