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/ghc-regress/cabal/cabal02/Makefile | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 testsuite/tests/ghc-regress/cabal/cabal02/Makefile (limited to 'testsuite/tests/ghc-regress/cabal/cabal02/Makefile') diff --git a/testsuite/tests/ghc-regress/cabal/cabal02/Makefile b/testsuite/tests/ghc-regress/cabal/cabal02/Makefile deleted file mode 100644 index 578e6fa7ed..0000000000 --- a/testsuite/tests/ghc-regress/cabal/cabal02/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -TOP=../../../.. -include $(TOP)/mk/boilerplate.mk -include $(TOP)/mk/test.mk - -CABAL_SETUP = $(FPTOOLS_TOP_ABS)/libraries/Cabal/cabal-setup/cabal-setup - -CONFIG_ARGS = --with-compiler=$(TEST_HC) --ghc-options='$(TEST_HC_OPTS)' --with-hc-pkg=$(GHC_PKG) - -# We have 3 packages, P-1.0, P-2.0, and Q. Q depends on P-1.0. -# We have an executable R, that depends on P-2.0 and Q, so the resulting -# executable will link to both P-1.0 and P-2.0. - -cabal02 : - (cd P1 && $(CABAL_SETUP) configure $(CONFIG_ARGS)) - (cd P1 && $(CABAL_SETUP) build) - (cd P1 && $(CABAL_SETUP) register --inplace --user) - (cd P2 && $(CABAL_SETUP) configure $(CONFIG_ARGS)) - (cd P2 && $(CABAL_SETUP) build) - (cd P2 && $(CABAL_SETUP) register --inplace --user) - (cd Q && $(CABAL_SETUP) configure $(CONFIG_ARGS)) - (cd Q && $(CABAL_SETUP) build) - (cd Q && $(CABAL_SETUP) register --inplace --user) - (cd R && $(CABAL_SETUP) configure $(CONFIG_ARGS)) - (cd R && $(CABAL_SETUP) build) - $(MAKE) clean - -clean :: - (cd P1 && $(CABAL_SETUP) unregister --user) - (cd P2 && $(CABAL_SETUP) unregister --user) - (cd Q && $(CABAL_SETUP) unregister --user) - (cd P1 && $(CABAL_SETUP) clean) - (cd P2 && $(CABAL_SETUP) clean) - (cd Q && $(CABAL_SETUP) clean) -- cgit v1.2.1