-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add verbatim *.expect.txt expectations
- Add oops.expect.txt - Add cabal-missing-package.expect.txt - Add hops.expect.txt - Add DedupUsingConfigFromComplex/errors.expect.txt - Add using configuration from to errors.expect.txt
- Loading branch information
1 parent
10bb996
commit 24af359
Showing
7 changed files
with
111 additions
and
118 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
cabal-testsuite/PackageTests/ConditionalAndImport/cabal-missing-package.expect.txt
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,6 @@ | ||
When using configuration from: | ||
- cabal-missing-package.project | ||
- missing/pkgs.config | ||
- missing/pkgs/default.config | ||
The following errors occurred: | ||
- The package location 'pkg-doesnt-exist' does not exist. |
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
56 changes: 56 additions & 0 deletions
56
cabal-testsuite/PackageTests/ConditionalAndImport/hops.expect.txt
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,56 @@ | ||
Configuration is affected by the following files: | ||
- hops-0.project | ||
- hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops-4.config | ||
imported by: hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops-6.config | ||
imported by: hops/hops-5.config | ||
imported by: hops-4.config | ||
imported by: hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops-8.config | ||
imported by: hops/hops-7.config | ||
imported by: hops-6.config | ||
imported by: hops/hops-5.config | ||
imported by: hops-4.config | ||
imported by: hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops/hops-5.config | ||
imported by: hops-4.config | ||
imported by: hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops/hops-7.config | ||
imported by: hops-6.config | ||
imported by: hops/hops-5.config | ||
imported by: hops-4.config | ||
imported by: hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project | ||
- hops/hops-9.config | ||
imported by: hops-8.config | ||
imported by: hops/hops-7.config | ||
imported by: hops-6.config | ||
imported by: hops/hops-5.config | ||
imported by: hops-4.config | ||
imported by: hops/hops-3.config | ||
imported by: hops-2.config | ||
imported by: hops/hops-1.config | ||
imported by: hops-0.project |
16 changes: 16 additions & 0 deletions
16
cabal-testsuite/PackageTests/ConditionalAndImport/oops.expect.txt
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,16 @@ | ||
Could not resolve dependencies: | ||
[__0] trying: oops-0.1 (user goal) | ||
[__1] next goal: hashable (dependency of oops) | ||
[__1] rejecting: hashable-1.4.3.0 | ||
(constraint from oops/oops-9.config requires ==1.4.2.0) | ||
imported by: oops-8.config | ||
imported by: oops/oops-7.config | ||
imported by: oops-6.config | ||
imported by: oops/oops-5.config | ||
imported by: oops-4.config | ||
imported by: oops/oops-3.config | ||
imported by: oops-2.config | ||
imported by: oops/oops-1.config | ||
imported by: oops-0.project | ||
[__1] rejecting: hashable-1.4.2.0 | ||
(constraint from oops-0.project requires ==1.4.3.0) |
5 changes: 3 additions & 2 deletions
5
cabal-testsuite/PackageTests/ProjectImport/DedupUsingConfigFromComplex/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,3 +1,4 @@ | ||
# checking "using config from message" with URI imports | ||
# check "using config from message" with URI imports | ||
# cabal v2-build | ||
# checking that package directories and locations are reported in order | ||
# check project configuration with URI imports is listed in full and | ||
# check package directories and locations are reported in order |
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
19 changes: 19 additions & 0 deletions
19
cabal-testsuite/PackageTests/ProjectImport/DedupUsingConfigFromComplex/errors.expect.txt
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,19 @@ | ||
When using configuration from: | ||
- no-pkgs.project | ||
- 0.config | ||
- 2.config | ||
- 4.config | ||
- 6.config | ||
- 8.config | ||
- cfg/1.config | ||
- cfg/3.config | ||
- cfg/5.config | ||
- cfg/7.config | ||
- cfg/9.config | ||
- with-ghc.config | ||
- https://www.stackage.org/lts-21.25/cabal.config | ||
The following errors occurred: | ||
- The package directory 'no-pkg-1' does not contain any .cabal file. | ||
- The package location 'no-pkg-2-dir' does not exist. | ||
- The package directory 'no-pkg-3' does not contain any .cabal file. | ||
- The package location 'no-pkg-4-dir' does not exist. |