Skip to content

Commit 3821cff

Browse files
committed
Add alt.project tests for ReplOptions
1 parent 4b2e5f0 commit 3821cff

12 files changed

+73
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
packages: alt
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ModuleA where
2+
3+
a :: Int
4+
a = 42
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ModuleC where
2+
3+
c :: Int
4+
c = 42
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: alt
2+
version: 0.1
3+
build-type: Simple
4+
cabal-version: >= 1.10
5+
6+
library
7+
exposed-modules: ModuleA, ModuleC
8+
build-depends: base
9+
default-language: Haskell2010
10+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# cabal clean
2+
# cabal v2-repl
3+
Configuration is affected by the following files:
4+
- alt.project
5+
Configuration is affected by the following files:
6+
- alt.project
7+
Resolving dependencies...
8+
Build profile: -w ghc-<GHCVER> -O1
9+
In order, the following will be built:
10+
- alt-0.1 (interactive) (lib) (first run)
11+
Configuring library for alt-0.1...
12+
Preprocessing library for alt-0.1...
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# cabal clean
2+
# cabal v2-repl
3+
Configuration is affected by the following files:
4+
- alt.project
5+
Configuration is affected by the following files:
6+
- alt.project
7+
Resolving dependencies...
8+
Build profile: -w ghc-<GHCVER> -O1
9+
In order, the following will be built:
10+
- alt-0.1 (interactive) (lib) (first run)
11+
Configuring library for alt-0.1...
12+
Preprocessing library for alt-0.1...

cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options-multiple-flags.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# cabal v2-repl
33
Configuration is affected by the following files:
44
- cabal.project
5+
Configuration is affected by the following files:
6+
- cabal.project
57
Resolving dependencies...
68
Build profile: -w ghc-<GHCVER> -O1
79
In order, the following will be built:

cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# cabal v2-repl
33
Configuration is affected by the following files:
44
- cabal.project
5+
Configuration is affected by the following files:
6+
- cabal.project
57
Resolving dependencies...
68
Build profile: -w ghc-<GHCVER> -O1
79
In order, the following will be built:

cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags-negative.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# cabal v2-repl
33
Configuration is affected by the following files:
44
- cabal.project
5+
Configuration is affected by the following files:
6+
- cabal.project
57
Resolving dependencies...
68
Build profile: -w ghc-<GHCVER> -O1
79
In order, the following will be built:

cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# cabal v2-repl
33
Configuration is affected by the following files:
44
- cabal.project
5+
Configuration is affected by the following files:
6+
- cabal.project
57
Resolving dependencies...
68
Build profile: -w ghc-<GHCVER> -O1
79
In order, the following will be built:

0 commit comments

Comments
 (0)