(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / GhcPkgGuess / SameDirectoryGhcVersion / setup.test.hs
blob746c8015fca865bd59449c0dd78df3a7f2cf706d
1 import Test.Cabal.Prelude
2 -- TODO: Enable this test on Windows
3 main = setupAndCabalTest $ do
4 skipIfWindows
5 env <- getTestEnv
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-7.10"]
10 assertOutputContains "is version 9999999" r