Skip to content

Commit

Permalink
Re-design test-cases for show-build-info
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Aug 1, 2021
1 parent 8bdc331 commit 53de4fb
Show file tree
Hide file tree
Showing 33 changed files with 613 additions and 6 deletions.
10 changes: 6 additions & 4 deletions cabal-testsuite/PackageTests/Configure/include/HsZlibConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

Expand Down Expand Up @@ -45,5 +45,7 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* Define to 1 if you have the ANSI C header files. */
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#undef STDC_HEADERS
23 changes: 23 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/A.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cabal-version: 2.4
name: A
version: 0.1.0.0
license: BSD-3-Clause

library
exposed-modules: A
build-depends: base >=4
hs-source-dirs: src
default-language: Haskell2010

executable A
main-is: Main.hs
build-depends: base >=4
hs-source-dirs: src
default-language: Haskell2010

test-suite A-tests
type: exitcode-stdio-1.0
main-is: Test.hs
build-depends: base >=4, A
hs-source-dirs: src
default-language: Haskell2010
10 changes: 10 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/B/B.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cabal-version: 2.4
name: B
version: 0.1.0.0
license: BSD-3-Clause

library
exposed-modules: B
build-depends: base >=4.0.0.0, A
hs-source-dirs: lib
default-language: Haskell2010
4 changes: 4 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/B/lib/B.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module B where

foo :: Int -> Int
foo = id
21 changes: 21 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-all.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# cabal build
Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- A-0.1.0.0 (lib) (first run)
- A-0.1.0.0 (exe:A) (first run)
- B-0.1.0.0 (lib) (first run)
- A-0.1.0.0 (test:A-tests) (first run)
Configuring library for A-0.1.0.0..
Preprocessing library for A-0.1.0.0..
Building library for A-0.1.0.0..
Configuring executable 'A' for A-0.1.0.0..
Preprocessing executable 'A' for A-0.1.0.0..
Building executable 'A' for A-0.1.0.0..
Configuring library for B-0.1.0.0..
Preprocessing library for B-0.1.0.0..
Building library for B-0.1.0.0..
Configuring test suite 'A-tests' for A-0.1.0.0..
Warning: The package has an extraneous version range for a dependency on an internal library: A >=0 && ==0.1.0.0. This version range includes the current package but isn't needed as the current package's library will always be used.
Preprocessing test suite 'A-tests' for A-0.1.0.0..
Building test suite 'A-tests' for A-0.1.0.0..
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{-# LANGUAGE OverloadedStrings #-}
import Test.Cabal.Prelude
import Test.Cabal.DecodeShowBuildInfo

main = cabalTest $ do
runShowBuildInfo ["all", "--enable-tests"]
withPlan $ do
assertComponent "A" (exe "A")
defCompAssertion
{ sourceFiles = ["Main.hs"]
, sourceDirs = ["src"]
}
assertComponent "A" mainLib
defCompAssertion
{ modules = ["A"]
, sourceDirs = ["src"]
}

assertComponent "B" mainLib
defCompAssertion
{ modules = ["B"]
, sourceDirs = ["lib"]
}
assertComponent "A" (test "A-tests")
defCompAssertion
{ sourceFiles = ["Test.hs"]
, sourceDirs = ["src"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# cabal build
Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- A-0.1.0.0 (exe:A) (first run)
Configuring executable 'A' for A-0.1.0.0..
Preprocessing executable 'A' for A-0.1.0.0..
Building executable 'A' for A-0.1.0.0..
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{-# LANGUAGE OverloadedStrings #-}
import Test.Cabal.Prelude
import Test.Cabal.DecodeShowBuildInfo

main = cabalTest $ do
runShowBuildInfo ["exe:A"]
withPlan $ do
assertComponent "A" (exe "A")
defCompAssertion
{ sourceFiles = ["Main.hs"]
, sourceDirs = ["src"]
-- does not list lib as a target
, compilerArgsPred = all (/= "A-0.1.0.0-inplace")
}
1 change: 1 addition & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages: . ./B/
3 changes: 3 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/src/A.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module A where

foo = 2
3 changes: 3 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/src/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Main where

main = return ()
4 changes: 4 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/A/src/Test.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Main where

main :: IO ()
main = return ()
72 changes: 72 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/Complex/Complex.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
cabal-version: 2.4
name: Complex
version: 0.1.0.0
license: MIT

library
build-depends: base
hs-source-dirs: src doesnt-exist
default-language: Haskell2010
exposed-modules:
A
B

autogen-modules: Paths_Complex
other-modules:
C
D
Paths_Complex

ghc-options: -Wall

executable Complex
main-is: Main.lhs
build-depends:
, base
, Complex

hs-source-dirs: app
autogen-modules: Paths_Complex
other-modules:
Other
Paths_Complex

ghc-options:
-threaded -rtsopts "-with-rtsopts=-N -T" -Wredundant-constraints

default-language: Haskell2010

test-suite unit-test
type: exitcode-stdio-1.0
hs-source-dirs: test
build-depends:
, another-framework
, base

main-is: UnitMain.hs
default-language: Haskell2010

test-suite func-test
type: exitcode-stdio-1.0
hs-source-dirs: test
build-depends:
, base
, Complex
, test-framework

main-is: FuncMain.hs
default-language: Haskell2010

benchmark complex-benchmarks
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Paths_Complex
autogen-modules: Paths_Complex
hs-source-dirs: benchmark
ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
build-depends:
, base
, Complex
, criterion ^>=1.1.4

default-language: Haskell2010
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
> module Main where
>
> import A
> import Other
>
> main = do
> print foo
> print bar
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Other where

bar = ()
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Main where

main = pure ()
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages: .

tests: True
benchmarks: True
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: another-framework
version: 0.8.1.1
build-type: Simple
cabal-version: >= 1.10

library
build-depends: base
default-language: Haskell2010
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: criterion
version: 1.1.4.0
build-type: Simple
cabal-version: >= 1.10

library
build-depends: base, ghc-prim
default-language: Haskell2010
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: test-framework
version: 0.8.1.1
build-type: Simple
cabal-version: >= 1.10

library
build-depends: base
default-language: Haskell2010
70 changes: 70 additions & 0 deletions cabal-testsuite/PackageTests/ShowBuildInfo/Complex/single.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# cabal v2-update
Downloading the latest package list from test-local-repo
# cabal build
Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- Complex-0.1.0.0 (lib) (first run)
- Complex-0.1.0.0 (exe:Complex) (first run)
Configuring library for Complex-0.1.0.0..
Warning: 'hs-source-dirs: doesnt-exist' directory does not exist.
Preprocessing library for Complex-0.1.0.0..
Building library for Complex-0.1.0.0..
Configuring executable 'Complex' for Complex-0.1.0.0..
Warning: The package has an extraneous version range for a dependency on an internal library: Complex >=0 && ==0.1.0.0, Complex >=0 && ==0.1.0.0, Complex >=0 && ==0.1.0.0. This version range includes the current package but isn't needed as the current package's library will always be used.
Warning: 'hs-source-dirs: doesnt-exist' directory does not exist.
Preprocessing executable 'Complex' for Complex-0.1.0.0..
Building executable 'Complex' for Complex-0.1.0.0..
# show-build-info Complex exe:Complex
{"cabal-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"exe","name":"exe:Complex","unit-id":"Complex-0.1.0.0-inplace-Complex","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-odir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-hidir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-stubdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-i","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-iapp","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/Complex/autogen","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/Complex/autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-optP-include","-optP<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/Complex/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/./dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010","-threaded","-rtsopts","-with-rtsopts=-N -T","-Wredundant-constraints"],"modules":["Other","Paths_Complex"],"src-files":["Main.lhs"],"hs-src-dirs":["app"],"src-dir":"<ROOT>/","cabal-file":"./Complex.cabal"}]}
# cabal build
Up to date
# show-build-info Complex lib
{"cabal-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"lib","name":"lib","unit-id":"Complex-0.1.0.0-inplace","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-odir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-hidir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-stubdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-i","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-isrc","-idoesnt-exist","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/autogen","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-optP-include","-optP<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","Complex-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/./dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-XHaskell2010","-Wall"],"modules":["A","B","C","D","Paths_Complex"],"src-files":[],"hs-src-dirs":["src","doesnt-exist"],"src-dir":"<ROOT>/","cabal-file":"./Complex.cabal"}]}
# cabal build
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- criterion-1.1.4.0 (lib) (requires build)
- Complex-0.1.0.0 (bench:complex-benchmarks) (first run)
Configuring library for criterion-1.1.4.0..
Preprocessing library for criterion-1.1.4.0..
Building library for criterion-1.1.4.0..
Installing library in <PATH>
Configuring benchmark 'complex-benchmarks' for Complex-0.1.0.0..
Warning: The package has an extraneous version range for a dependency on an internal library: Complex >=0 && ==0.1.0.0, Complex >=0 && ==0.1.0.0, Complex >=0 && ==0.1.0.0. This version range includes the current package but isn't needed as the current package's library will always be used.
Warning: 'hs-source-dirs: doesnt-exist' directory does not exist.
Preprocessing benchmark 'complex-benchmarks' for Complex-0.1.0.0..
Building benchmark 'complex-benchmarks' for Complex-0.1.0.0..
# show-build-info Complex bench:complex-benchmarks
{"cabal-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"bench","name":"bench:complex-benchmarks","unit-id":"Complex-0.1.0.0-inplace-complex-benchmarks","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-odir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-hidir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-stubdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-i","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-ibenchmark","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/complex-benchmarks/autogen","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/complex-benchmarks/autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-optP-include","-optP<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/complex-benchmarks/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/./dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010","-Wall","-rtsopts","-threaded","-with-rtsopts=-N"],"modules":["Paths_Complex"],"src-files":["Main.hs"],"hs-src-dirs":["benchmark"],"src-dir":"<ROOT>/","cabal-file":"./Complex.cabal"}]}
# cabal build
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- test-framework-0.8.1.1 (lib) (requires build)
- Complex-0.1.0.0 (test:func-test) (first run)
Configuring library for test-framework-0.8.1.1..
Preprocessing library for test-framework-0.8.1.1..
Building library for test-framework-0.8.1.1..
Installing library in <PATH>
Configuring test suite 'func-test' for Complex-0.1.0.0..
Warning: The package has an extraneous version range for a dependency on an internal library: Complex >=0 && ==0.1.0.0, Complex >=0 && ==0.1.0.0, Complex >=0 && ==0.1.0.0. This version range includes the current package but isn't needed as the current package's library will always be used.
Warning: 'hs-source-dirs: doesnt-exist' directory does not exist.
Preprocessing test suite 'func-test' for Complex-0.1.0.0..
Building test suite 'func-test' for Complex-0.1.0.0..
# show-build-info Complex test:func-test
{"cabal-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"test","name":"test:func-test","unit-id":"Complex-0.1.0.0-inplace-func-test","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-odir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-hidir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-stubdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-i","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-itest","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/func-test/autogen","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/func-test/autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-optP-include","-optP<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/func-test/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/./dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010"],"modules":[],"src-files":["FuncMain.hs"],"hs-src-dirs":["test"],"src-dir":"<ROOT>/","cabal-file":"./Complex.cabal"}]}
# cabal build
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- another-framework-0.8.1.1 (lib) (requires build)
- Complex-0.1.0.0 (test:unit-test) (first run)
Configuring library for another-framework-0.8.1.1..
Preprocessing library for another-framework-0.8.1.1..
Building library for another-framework-0.8.1.1..
Installing library in <PATH>
Configuring test suite 'unit-test' for Complex-0.1.0.0..
Warning: 'hs-source-dirs: doesnt-exist' directory does not exist.
Preprocessing test suite 'unit-test' for Complex-0.1.0.0..
Building test suite 'unit-test' for Complex-0.1.0.0..
# show-build-info Complex test:unit-test
{"cabal-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"test","name":"test:unit-test","unit-id":"Complex-0.1.0.0-inplace-unit-test","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build","-odir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build","-hidir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build","-stubdir","<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build","-i","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build","-itest","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build/unit-test/autogen","-i<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build/unit-test/autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build/global-autogen","-I<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build","-optP-include","-optP<ROOT>/single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/unit-test/build/unit-test/autogen/cabal_macros.h","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/./dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010"],"modules":[],"src-files":["UnitMain.hs"],"hs-src-dirs":["test"],"src-dir":"<ROOT>/","cabal-file":"./Complex.cabal"}]}
Loading

0 comments on commit 53de4fb

Please sign in to comment.