forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cabal-testsuite/PackageTests/BuildDeps/DepCycle/setup.cabal.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Setup configure | ||
Configuring DepCycle-1.0... | ||
Error: | ||
Components in the package depend on each other in a cyclic way: | ||
'library 'bar'' depends on 'library 'foo'' depends on 'library 'bar'' | ||
Components in the package DepCycle-1.0 depend on each other in a cyclic way: | ||
'library 'bar'' depends on 'library 'foo'' depends on 'library 'bar'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Setup configure | ||
Configuring DepCycle-1.0... | ||
Error: | ||
Components in the package depend on each other in a cyclic way: | ||
'library 'bar'' depends on 'library 'foo'' depends on 'library 'bar'' | ||
Components in the package DepCycle-1.0 depend on each other in a cyclic way: | ||
'library 'bar'' depends on 'library 'foo'' depends on 'library 'bar'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module Bar where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module Foo where |
5 changes: 5 additions & 0 deletions
5
cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# cabal v2-build | ||
Resolving dependencies... | ||
Error: | ||
Dependency cycle between the following components: library | ||
In the inplace package 'issue-6894' |
1 change: 1 addition & 0 deletions
1
cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packages: . |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Test.Cabal.Prelude | ||
main = cabalTest $ | ||
fails $ cabal "v2-build" ["issue"] |
13 changes: 13 additions & 0 deletions
13
cabal-testsuite/PackageTests/MultipleLibraries/T6894/issue.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
cabal-version: 3.0 | ||
name: issue | ||
version: 6894 | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: base, issue:sublib | ||
exposed-modules: Foo | ||
|
||
library sublib | ||
default-language: Haskell2010 | ||
build-depends: base | ||
exposed-modules: Bar |
7 changes: 7 additions & 0 deletions
7
cabal-testsuite/PackageTests/MultipleLibraries/T6894/setup.cabal.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Setup configure | ||
Warning: issue.cabal:7:30: colon specifier is experimental feature (issue #5660) | ||
Configuring issue-6894... | ||
Error: | ||
Components in the package issue-6894 depend on each other in a cyclic way: | ||
'library' depends on 'library' | ||
# Setup build |
7 changes: 7 additions & 0 deletions
7
cabal-testsuite/PackageTests/MultipleLibraries/T6894/setup.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Setup configure | ||
Warning: issue.cabal:7:30: colon specifier is experimental feature (issue #5660) | ||
Configuring issue-6894... | ||
Error: | ||
Components in the package issue-6894 depend on each other in a cyclic way: | ||
'library' depends on 'library' | ||
# Setup build |
3 changes: 3 additions & 0 deletions
3
cabal-testsuite/PackageTests/MultipleLibraries/T6894/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Test.Cabal.Prelude | ||
main = setupAndCabalTest $ do | ||
fails $ setup_build [] |