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.
Showing
- cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out 7 additions, 7 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