More consistently pass --package-db flag to tests (backport #9954) (#10067)
* More consistently pass --package-db flag to tests Previously `--package-db` was only passed to test which used the `v2-` prefix. Now we pass `--package-db` to things which use the `v2-` prefix, not things which use the `v1-` prefix and by default assume that unprefixed commands are v2 commands. (cherry picked from commit 2b44677c) # Conflicts: # cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out * fixup! resolve conflicts --------- Co-authored-by:Matthew Pickering <matthewtpickering@gmail.com> Co-authored-by:
Artem Pelenitsyn <a.pelenitsyn@gmail.com>
Showing
- cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out 6 additions, 6 deletionscabal-testsuite/PackageTests/CustomTestCoverage/cabal.out
- cabal-testsuite/PackageTests/Regression/T9640/cabal.out 2 additions, 2 deletionscabal-testsuite/PackageTests/Regression/T9640/cabal.out
- cabal-testsuite/src/Test/Cabal/DecodeShowBuildInfo.hs 1 addition, 1 deletioncabal-testsuite/src/Test/Cabal/DecodeShowBuildInfo.hs
- cabal-testsuite/src/Test/Cabal/Prelude.hs 7 additions, 3 deletionscabal-testsuite/src/Test/Cabal/Prelude.hs
Loading
Please register or sign in to comment