(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / GhcPkgGuess / SymlinkVersion / setup.test.hs
blobeb95044b94175aff6eab6b15c807877dd35163a4
1 import Test.Cabal.Prelude
2 -- TODO: Enable this test on Windows
3 main = setupAndCabalTest $ do
4 skipIfWindows
5 withSymlink "bin/ghc-7.10" "ghc" $ do
6 env <- getTestEnv
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