[commit: testsuite] master: remove duplicate test (driver/recomp009 is the same test, from #481) (df5f448)

Simon Marlow marlowsd at gmail.com
Mon Aug 8 14:53:39 CEST 2011


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

On branch  : master

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

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

commit df5f448d5fa294c3f02cf945c5dc467c543a8cf9
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Aug 8 09:13:54 2011 +0100

    remove duplicate test (driver/recomp009 is the same test, from #481)

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

 tests/th/TH_recompile/Main.hs             |    7 -------
 tests/th/TH_recompile/Makefile            |   22 ----------------------
 tests/th/TH_recompile/Sub1.hs             |    5 -----
 tests/th/TH_recompile/Sub2.hs             |    5 -----
 tests/th/TH_recompile/TH_recompile.stdout |    2 --
 tests/th/TH_recompile/all.T               |   16 ----------------
 6 files changed, 0 insertions(+), 57 deletions(-)

diff --git a/tests/th/TH_recompile/Main.hs b/tests/th/TH_recompile/Main.hs
deleted file mode 100644
index c4ce4a6..0000000
--- a/tests/th/TH_recompile/Main.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-
-module Main where
-
-import Sub
-
-main = print $x
-
diff --git a/tests/th/TH_recompile/Makefile b/tests/th/TH_recompile/Makefile
deleted file mode 100644
index 87fab63..0000000
--- a/tests/th/TH_recompile/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-TOP=../../..
-include $(TOP)/mk/boilerplate.mk
-include $(TOP)/mk/test.mk
-
-# Test for trac #481. GHC should notice that the code that generates
-# the splice has changed, and thus re-run it.
-
-clean:
-	rm -f *.o
-	rm -f hi
-	rm -f test test2
-	rm -f Sub.hs
-
-TH_recompile:
-	$(MAKE) clean
-	cp Sub1.hs Sub.hs
-	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make -XTemplateHaskell Main.hs -o test
-	cp Sub2.hs Sub.hs
-	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make -XTemplateHaskell Main.hs -o test2
-	./test
-	./test2
-
diff --git a/tests/th/TH_recompile/Sub1.hs b/tests/th/TH_recompile/Sub1.hs
deleted file mode 100644
index f52a654..0000000
--- a/tests/th/TH_recompile/Sub1.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-
-module Sub where
-
-x = [| 1 |]
-
diff --git a/tests/th/TH_recompile/Sub2.hs b/tests/th/TH_recompile/Sub2.hs
deleted file mode 100644
index 3698ec5..0000000
--- a/tests/th/TH_recompile/Sub2.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-
-module Sub where
-
-x = [| 2 |]
-
diff --git a/tests/th/TH_recompile/TH_recompile.stdout b/tests/th/TH_recompile/TH_recompile.stdout
deleted file mode 100644
index 1191247..0000000
--- a/tests/th/TH_recompile/TH_recompile.stdout
+++ /dev/null
@@ -1,2 +0,0 @@
-1
-2
diff --git a/tests/th/TH_recompile/all.T b/tests/th/TH_recompile/all.T
deleted file mode 100644
index ecdba11..0000000
--- a/tests/th/TH_recompile/all.T
+++ /dev/null
@@ -1,16 +0,0 @@
-def f(opts):
-  opts.extra_hc_opts = '-XTemplateHaskell -package template-haskell'
-  if (ghc_with_interpreter == 0):
-	opts.skip = 1
-
-setTestOpts(f)
-setTestOpts(only_compiler_types(['ghc']))
-setTestOpts(only_ways(['normal']));
-setTestOpts(if_compiler_profiled(skip))
-
-test('TH_recompile',
-     [expect_broken(481),
-      clean_cmd('$MAKE -s clean')],
-     run_command,
-     ['$MAKE -s TH_recompile'])
-





More information about the Cvs-ghc mailing list