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