diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-26 00:33:42 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-26 15:52:46 +0100 |
commit | 30c94d28a2925eed56ac813369601215f704c091 (patch) | |
tree | ca2dceff46664ff68fe054ca0a7b466667be4e14 /testsuite/tests/cabal | |
parent | 2274cbd45bf07a40c869523c3b2f4776ee3e3fb9 (diff) | |
download | haskell-30c94d28a2925eed56ac813369601215f704c091.tar.gz |
Remove cabal02
It tested cabal-setup, which no longer exists.
Diffstat (limited to 'testsuite/tests/cabal')
-rw-r--r-- | testsuite/tests/cabal/cabal02/Makefile | 33 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/P1/A.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/P1/P1.cabal | 4 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/P2/A.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/P2/P2.cabal | 4 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/Q/B.hs | 5 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/Q/Q.cabal | 4 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/R/Main.hs | 4 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/R/R.cabal | 6 | ||||
-rw-r--r-- | testsuite/tests/cabal/cabal02/all.T | 8 |
10 files changed, 0 insertions, 74 deletions
diff --git a/testsuite/tests/cabal/cabal02/Makefile b/testsuite/tests/cabal/cabal02/Makefile deleted file mode 100644 index c7348a3927..0000000000 --- a/testsuite/tests/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) diff --git a/testsuite/tests/cabal/cabal02/P1/A.hs b/testsuite/tests/cabal/cabal02/P1/A.hs deleted file mode 100644 index 411d1dd4ef..0000000000 --- a/testsuite/tests/cabal/cabal02/P1/A.hs +++ /dev/null @@ -1,3 +0,0 @@ -module A where - -a = 1 :: Int diff --git a/testsuite/tests/cabal/cabal02/P1/P1.cabal b/testsuite/tests/cabal/cabal02/P1/P1.cabal deleted file mode 100644 index c4b2161cea..0000000000 --- a/testsuite/tests/cabal/cabal02/P1/P1.cabal +++ /dev/null @@ -1,4 +0,0 @@ -Name: P -Version: 1.0 -Exposed-Modules: A -Build-depends: base>=1.0, haskell98 diff --git a/testsuite/tests/cabal/cabal02/P2/A.hs b/testsuite/tests/cabal/cabal02/P2/A.hs deleted file mode 100644 index 3db5ca96ef..0000000000 --- a/testsuite/tests/cabal/cabal02/P2/A.hs +++ /dev/null @@ -1,3 +0,0 @@ -module A where - -a = 2 diff --git a/testsuite/tests/cabal/cabal02/P2/P2.cabal b/testsuite/tests/cabal/cabal02/P2/P2.cabal deleted file mode 100644 index 3991b20839..0000000000 --- a/testsuite/tests/cabal/cabal02/P2/P2.cabal +++ /dev/null @@ -1,4 +0,0 @@ -Name: P -Version: 2.0 -Exposed-Modules: A -Build-depends: base>=1.0, haskell98 diff --git a/testsuite/tests/cabal/cabal02/Q/B.hs b/testsuite/tests/cabal/cabal02/Q/B.hs deleted file mode 100644 index 0fd13a9ff3..0000000000 --- a/testsuite/tests/cabal/cabal02/Q/B.hs +++ /dev/null @@ -1,5 +0,0 @@ -module B where - -import A -- from package P - -b = a diff --git a/testsuite/tests/cabal/cabal02/Q/Q.cabal b/testsuite/tests/cabal/cabal02/Q/Q.cabal deleted file mode 100644 index e439f49175..0000000000 --- a/testsuite/tests/cabal/cabal02/Q/Q.cabal +++ /dev/null @@ -1,4 +0,0 @@ -Name: Q -Version: 1.0 -Build-depends: base>=1.0, haskell98, P==1.0 -Exposed-modules: B diff --git a/testsuite/tests/cabal/cabal02/R/Main.hs b/testsuite/tests/cabal/cabal02/R/Main.hs deleted file mode 100644 index a6ddcdf6c1..0000000000 --- a/testsuite/tests/cabal/cabal02/R/Main.hs +++ /dev/null @@ -1,4 +0,0 @@ -import A -import B - -main = do print a; print b diff --git a/testsuite/tests/cabal/cabal02/R/R.cabal b/testsuite/tests/cabal/cabal02/R/R.cabal deleted file mode 100644 index 73c6bfc881..0000000000 --- a/testsuite/tests/cabal/cabal02/R/R.cabal +++ /dev/null @@ -1,6 +0,0 @@ -Name: R -Version: 1.0 -Build-depends: base>=1.0, haskell98, P==2.0, Q - -Executable: R -Main-is: Main.hs diff --git a/testsuite/tests/cabal/cabal02/all.T b/testsuite/tests/cabal/cabal02/all.T deleted file mode 100644 index bfa809109b..0000000000 --- a/testsuite/tests/cabal/cabal02/all.T +++ /dev/null @@ -1,8 +0,0 @@ -# cabal-setup isn't in the GHC tree any more; this test should probably -# be moved to the cabal-setup package. -test('cabal02', - [skip, - skip_if_fast, - if_platform('i386-unknown-mingw32', expect_broken(1196))], - run_command, - ['$MAKE -s --no-print-directory cabal02']) |