-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4585 from haskell/2.0-port
Cherry-pick the test suite fixes from master into 2.0
- Loading branch information
Showing
8 changed files
with
60 additions
and
24 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
10 changes: 10 additions & 0 deletions
10
cabal-testsuite/PackageTests/Backpack/T4447/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,10 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring T4447-1.0... | ||
Error: | ||
Cannot instantiate requirement 'A' brought into scope by build-depends: T4447:foo-indef | ||
with locally defined module brought into scope by other-modules: A | ||
as this would create a cyclic dependency, which GHC does not support. | ||
Try moving this module to a separate library, e.g., | ||
create a new stanza: library 'sublib'. | ||
In the stanza executable foo-exe |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +0,0 @@ | ||
# cabal new-build | ||
Resolving dependencies... | ||
In order, the following will be built: | ||
- T4450-1.0 (exe:foo) (first run) | ||
# cabal new-build | ||
In order, the following will be built: | ||
- T4450-1.0 (lib:T4450) (additional components to build) | ||
- dep-1.0 (lib) (first run) | ||
Configuring library for dep-1.0.. | ||
Preprocessing library for dep-1.0.. | ||
Building library for dep-1.0.. | ||
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,7 @@ | ||
import Test.Cabal.Prelude | ||
main = cabalTest $ do | ||
skipUnless =<< hasNewBuildCompatBootCabal | ||
cabal "new-build" ["foo"] | ||
cabal "new-build" ["dep"] | ||
-- Custom Setups inconsistently report output depending | ||
-- on your boot GHC. | ||
recordMode DoNotRecord $ cabal "new-build" ["foo"] | ||
recordMode DoNotRecord $ cabal "new-build" ["dep"] |
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