aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/CompileTest.hs2
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"