Commit 975a69ae authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Port regression/t3827 to cabal-testsuite


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 53b9b421
......@@ -62,12 +62,6 @@ Extra-Source-Files:
tests/IntegrationTests/multiple-source/p/p.cabal
tests/IntegrationTests/multiple-source/q/Setup.hs
tests/IntegrationTests/multiple-source/q/q.cabal
tests/IntegrationTests/regression/t3827.sh
tests/IntegrationTests/regression/t3827/cabal.project
tests/IntegrationTests/regression/t3827/p/P.hs
tests/IntegrationTests/regression/t3827/p/p.cabal
tests/IntegrationTests/regression/t3827/q/Main.hs
tests/IntegrationTests/regression/t3827/q/q.cabal
tests/IntegrationTests/sandbox-reinstalls/p/Main.hs
tests/IntegrationTests/sandbox-reinstalls/p/p.cabal
tests/IntegrationTests/sandbox-reinstalls/q/Q.hs
......
. ./common.sh
cd t3827
cabal new-build exe:q
# cabal new-build
Resolving dependencies...
In order, the following will be built:
- p-1.0 (lib) --enable-library-profiling (first run)
- q-1.0 (exe:q) --enable-profiling (first run)
Configuring library for p-1.0..
Preprocessing library for p-1.0..
Building library for p-1.0..
Configuring executable 'q' for q-1.0..
Preprocessing executable 'q' for q-1.0..
Building executable 'q' for q-1.0..
import Test.Cabal.Prelude
main = cabalTest $ do
cabal "new-build" ["exe:q"]
......@@ -6,3 +6,4 @@ cabal-version: >= 1.10
library
build-depends: base
exposed-modules: P
default-language: Haskell2010
......@@ -6,3 +6,4 @@ cabal-version: >= 1.10
executable q
build-depends: base, p
main-is: Main.hs
default-language: Haskell2010
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment