Closed
Description
At the moment the testsuite has two kinds of tests.
Setup.hs
tests, which are built against the in-tree Cabal librarycabal-install
tests, which use the in-treecabal-install
library but the boot compilerCabal
library.
This has caused much confusion with people writing cabal-install
tests to attempt to test things they have changed in Cabal and wondering why the test never runs (see #9425)
We should be able to have more control in the testsuite about which version of the Cabal library is used for cabal-install tests.
- Use the boot compiler Cabal library (like we do now)
- Use the intree library, for testing changes in master.
- Use a specific Cabal library.