Don't try to unsetEnv on ghc-7.6

This commit is contained in:
Nikolay Yakimov 2016-08-03 14:25:05 +03:00
parent 6496b641c9
commit 4d4a9d048b

View File

@ -13,7 +13,9 @@ import TestUtils
main :: IO () main :: IO ()
main = do main = do
#if __GLASGOW_HASKELL__ >= 708
unsetEnv "GHC_PACKAGE_PATH" unsetEnv "GHC_PACKAGE_PATH"
#endif
let sandboxes = [ "test/data/cabal-project" let sandboxes = [ "test/data/cabal-project"
, "test/data/check-packageid" , "test/data/check-packageid"
, "test/data/duplicate-pkgver/" , "test/data/duplicate-pkgver/"