diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-09-19 21:53:06 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-09-25 13:11:28 +0200 |
commit | 2d4503cd1a72b50e9362ecf50dc8bd51e95534d2 (patch) | |
tree | cb70e2a68a195448a3d8816d6f3af72de39418fb /tests | |
parent | 52a222bf30c4ed967723da254c4ef41968379f7f (diff) |
tests: Remove cleaning of cache dir
.. mostly because the paths are wrong now but I also think keeping these
dirty across the tests simulates the users environment better.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CompileTest.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index 979ace0..a451fdd 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -123,7 +123,6 @@ data HEAD = HEAD deriving (Eq, Show) compilePrivatePkgDb :: Either HEAD Version -> IO (Either ExitCode FilePath) compilePrivatePkgDb (Left HEAD) = do - _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ] res <- (Right <$> installCabalHEAD defaultOptions { verbose = True }) `E.catch` \(SomeException ex) -> return $ Left $ "ERROR: Installing cabal HEAD failed: " ++ show ex @@ -134,7 +133,6 @@ compilePrivatePkgDb (Left HEAD) = do Right (db, commit) -> compileWithPkg (Just db) (Left commit) compilePrivatePkgDb (Right cabalVer) = do - _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ] db <- installCabal defaultOptions { verbose = True } cabalVer `E.catch` \(SomeException _) -> do errorInstallCabal cabalVer "dist" |