Skip to content

Commit 312100d

Browse files
committed
Maybe fix integration tests without existing STACK_ROOT #3662
1 parent 6125a80 commit 312100d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/IntegrationSpec.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ test :: FilePath -- ^ runghc
7777
test runghc env' currDir origStackRoot newHome newStackRoot name = it name $ withDir $ \dir -> do
7878
newHomeExists <- doesDirectoryExist newHome
7979
when newHomeExists (removeDirectoryRecursive newHome)
80+
createDirectoryIfMissing True newStackRoot
8081
copyTree toCopyRoot origStackRoot newStackRoot
8182
writeFile (newStackRoot </> "config.yaml") "system-ghc: true"
8283
let testDir = currDir </> "tests" </> name

0 commit comments

Comments
 (0)