From 24633f04e46f553cf24dab55e0d2a54742e0004a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Tue, 22 Jul 2014 22:54:30 +0200 Subject: [PATCH] Remove ghc-mod.cache files before tests run --- test/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Main.hs b/test/Main.hs index 4e92804..0948f3a 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -21,7 +21,7 @@ main = do genGhcPkgCache dir = system $ "ghc-pkg recache --force -f" ++ dir genSandboxCfg `mapM_` sandboxes genGhcPkgCache `mapM_` pkgDirs - system "find test -name setup-config -exec rm {} \\;" + system "find test -name setup-config -name ghc-mod.cache -exec rm {} \\;" system "cabal --version" putStrLn $ "ghc-mod was built with Cabal version " ++ VERSION_Cabal system "ghc --version"