1 import Test
.Cabal
.Prelude
2 -- TODO: Enable this test on Windows
3 main
= setupAndCabalTest
$ do
6 let cwd
= testCurrentDir env
7 ghc_path
<- programPathM ghcProgram
8 r
<- withEnv
[("WITH_GHC", Just ghc_path
)]
9 . fails
$ setup
' "configure" ["-w", cwd
</> "ghc"]
10 assertOutputContains
"is version 9999999" r