-
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.
setupAndCabalTest uses cabal act-as-setup for cabal part
The cabal command interface will drift more and more from ./Setup interface. This is first step: don't assume they are the same. This removes need to "patch" setup commands to work with cabal: the `act-as-setup` SHOULD behave as (simple) ./Setup There were few setupAndCabalTests which weren't `build-type: Simple`. For those I made a separate `cabal.test.hs`. Also added a OutputNormalizer for global tmp directory. `v2-build` sdists `build-type: Custom` packages to get the list of files to watch. I guess it's ok to have that functionality, yet it could be eventually removed, as `v2-sdist` does not invoke `./Setup.hs` script.
- Loading branch information
Showing
117 changed files
with
94 additions
and
233 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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/AutogenModules/Package/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
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
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Includes1/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
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Includes2/setup-internal-fail.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,4 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring fail-0.1.0.0... | ||
Error: | ||
- Cannot match module names | ||
|
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Includes2/setup-internal.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
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Includes3/setup-internal.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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Includes4/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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Includes5/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
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/Reexport2/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,4 +1,3 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring Reexport2-1.0... | ||
cabal: Duplicate modules in library: Asdf |
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
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/Backpack/TemplateHaskell/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
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
5 changes: 0 additions & 5 deletions
5
cabal-testsuite/PackageTests/BenchmarkOptions/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,20 +1,15 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring BenchmarkOptions-0.1... | ||
# Setup build | ||
Preprocessing benchmark 'test-BenchmarkOptions' for BenchmarkOptions-0.1.. | ||
Building benchmark 'test-BenchmarkOptions' for BenchmarkOptions-0.1.. | ||
Preprocessing executable 'dummy' for BenchmarkOptions-0.1.. | ||
Building executable 'dummy' for BenchmarkOptions-0.1.. | ||
# Setup bench | ||
Preprocessing benchmark 'test-BenchmarkOptions' for BenchmarkOptions-0.1.. | ||
Building benchmark 'test-BenchmarkOptions' for BenchmarkOptions-0.1.. | ||
Running 1 benchmarks... | ||
Benchmark test-BenchmarkOptions: RUNNING... | ||
Benchmark test-BenchmarkOptions: FINISH | ||
# Setup bench | ||
Preprocessing benchmark 'test-BenchmarkOptions' for BenchmarkOptions-0.1.. | ||
Building benchmark 'test-BenchmarkOptions' for BenchmarkOptions-0.1.. | ||
Running 1 benchmarks... | ||
Benchmark test-BenchmarkOptions: RUNNING... | ||
Benchmark test-BenchmarkOptions: FINISH |
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,4 +1,3 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring BenchmarkStanza-0.1... | ||
Warning: Packages using 'cabal-version: >= 1.10' must specify the 'default-language' field for each component (e.g. Haskell98 or Haskell2010). If a component uses different languages in different modules then list the other ones in the 'other-languages' field. |
1 change: 0 additions & 1 deletion
1
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildDeps/InternalLibrary0/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,4 +1,3 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring InternalLibrary0-0.1... | ||
cabal: The field 'build-depends: InternalLibrary0' refers to a library which is defined within the same package. To use this feature the package must specify at least 'cabal-version: >= 1.8'. |
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildDeps/InternalLibrary1/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
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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildDeps/SameDepsAllRound/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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildDeps/TargetSpecificDeps1/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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildDeps/TargetSpecificDeps2/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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildDeps/TargetSpecificDeps3/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
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildToolDependsInternalMissing/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,4 +1,3 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring build-tool-depends-missing-0.1.0.0... | ||
cabal: The package depends on a missing internal executable: |
1 change: 0 additions & 1 deletion
1
cabal-testsuite/PackageTests/BuildTools/Foreign/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
Oops, something went wrong.