Commit 90ac0c11 authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

Set CABAL_CONFIG in testEnvironment

parent 5392ac8c
......@@ -325,7 +325,9 @@ runTestM mode m = withSystemTempDirectory "cabal-testsuite" $ \tmp_dir -> do
, ("HOME", Just (testHomeDir env))
-- Set CABAL_DIR in addition to HOME, since HOME has no
-- effect on Windows.
, ("CABAL_DIR", Just (testCabalDir env))],
, ("CABAL_DIR", Just (testCabalDir env))
, ("CABAL_CONFIG", Just $ testCabalDir env </> "config")
],
testShouldFail = False,
testRelativeCurrentDir = ".",
testHavePackageDb = False,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment