From 16514f272fb42af6e9c7674a9bd6c9dce369231f Mon Sep 17 00:00:00 2001 From: David Terei Date: Wed, 20 Jul 2011 11:09:03 -0700 Subject: Move tests from tests/ghc-regress/* to just tests/* --- testsuite/tests/driver/T3007/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testsuite/tests/driver/T3007/Makefile (limited to 'testsuite/tests/driver/T3007/Makefile') 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 + -- cgit v1.2.1