summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/driver/recomp003/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/driver/recomp003/Makefile')
-rw-r--r--testsuite/tests/ghc-regress/driver/recomp003/Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/testsuite/tests/ghc-regress/driver/recomp003/Makefile b/testsuite/tests/ghc-regress/driver/recomp003/Makefile
deleted file mode 100644
index 45ae0cbbdf..0000000000
--- a/testsuite/tests/ghc-regress/driver/recomp003/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-TOP=../../../..
-include $(TOP)/mk/boilerplate.mk
-include $(TOP)/mk/test.mk
-
-OBJSUFFIX = .o
-
-# Test that adding a new module that shadows a package module causes
-# recompilation. Part of bug #1372.
-recomp003:
- $(RM) A.hi A$(OBJSUFFIX) out
- $(RM) -rf Data
- mkdir Data
- '$(TEST_HC)' $(TEST_HC_OPTS) -c A.hs
- echo "module Data.Char where" > Data/Char.hs
- '$(TEST_HC)' $(TEST_HC_OPTS) -c Data/Char.hs
- # Should now recompile A.hs, because Char is now a home module:
- '$(TEST_HC)' $(TEST_HC_OPTS) -c A.hs 2>err
- @if grep NOT err; then false; fi