Open mpickering opened 7 months ago
The failure mode is:
-Build profile: -w ghc-<GHCVER> -O2
+Build profile: -w ghc-9.6.2 -O2
In order, the following will be built:
- test-0.1.0.0 (lib) (first run)
Configuring library for test-0.1.0.0...
*** Exception: ExitFailure 1
This test modifies
--config-file
, which overrides the means the testsuite used to specify the compiler which cabal-install should use.-w
flag to choose which ghc to compile thecabal-tests
executable with.--with-ghc=...
when running the testsThis doesn't show up in CI as we only test cabal-install against the ghc it was bootstrapped against.
I more robust way to write the test is to perhaps augment the
testUserCabalConfigFile
, which is local to each test, rather than override it completely. However, I will leave that for now.