summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T3007/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/driver/T3007/Makefile')
-rw-r--r--testsuite/tests/driver/T3007/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T3007/Makefile b/testsuite/tests/driver/T3007/Makefile
new file mode 100644
index 0000000000..8c81bff205
--- /dev/null
+++ b/testsuite/tests/driver/T3007/Makefile
@@ -0,0 +1,21 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+clean:
+ rm -f A/Setup A/Setup.o A/Setup.hi
+ rm -f B/Setup B/Setup.o B/Setup.hi
+ rm -rf A/dist B/dist
+ rm -f package.conf
+
+T3007:
+ $(MAKE) clean
+ echo '[]' > package.conf
+ cd A && '$(TEST_HC)' -v0 --make Setup
+ cd A && ./Setup configure -v0 --with-compiler='$(TEST_HC)' --ghc-pkg-option=--global-conf=../package.conf --ghc-option=-package-conf../package.conf
+ cd A && ./Setup build -v0
+ cd A && ./Setup register --inplace -v0
+ cd B && '$(TEST_HC)' -v0 --make Setup
+ cd B && ./Setup configure -v0 --with-compiler='$(TEST_HC)' --ghc-pkg-option=--global-conf=../package.conf --ghc-option=-package-conf../package.conf
+ cd B && ./Setup build -v0
+