diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-10-30 21:41:54 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-10-30 22:47:32 +0100 |
commit | 563aa546821b1ddb4fdf87ad43cb739411f197cc (patch) | |
tree | 9e41cdd9a461165a8662903a046ff960f933a603 /tests | |
parent | 1ae35dd74cf0c60685f4c862c801afaa01aff623 (diff) |
Cleanup .ghc-mod when running tests
just to be sure
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Spec.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs index ea6aff8..1294dd8 100644 --- a/tests/Spec.hs +++ b/tests/Spec.hs @@ -72,6 +72,7 @@ main = do compilePrivatePkgDb :: Version -> IO (Either ExitCode FilePath) compilePrivatePkgDb cabalVer = do + _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ] db <- installCabal defaultOptions cabalVer `E.catch` \(SomeException _) -> errorInstallCabal cabalVer "dist" compileWithPkg "." (Just db) cabalVer |