Rename files and fix cleaning for GEq1
authorIan Lynagh <igloo@earth.li>
Sat, 6 Aug 2011 20:19:51 +0000 (21:19 +0100)
committerIan Lynagh <igloo@earth.li>
Sat, 6 Aug 2011 20:19:51 +0000 (21:19 +0100)
testsuite/tests/generics/GEq/GEq1.hs [moved from testsuite/tests/generics/GEq/Main.hs with 98% similarity]
testsuite/tests/generics/GEq/GEq1A.hs [moved from testsuite/tests/generics/GEq/GEq.hs with 98% similarity]
testsuite/tests/generics/GEq/test.T

similarity index 98%
rename from testsuite/tests/generics/GEq/Main.hs
rename to testsuite/tests/generics/GEq/GEq1.hs
index bc1fbd5..01dedec 100644 (file)
@@ -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
 
similarity index 98%
rename from testsuite/tests/generics/GEq/GEq.hs
rename to testsuite/tests/generics/GEq/GEq1A.hs
index 54caad3..6450091 100644 (file)
@@ -1,6 +1,6 @@
 {-# LANGUAGE TypeOperators, DefaultSignatures, FlexibleContexts, FlexibleInstances #-}
 
-module GEq where
+module GEq1A where
 
 import GHC.Generics
 
index 363cb48..a26bfe9 100644 (file)
@@ -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