From 9a21555c26c61cf3bb9b5353a838bf147816dad9 Mon Sep 17 00:00:00 2001 From: David Waern Date: Fri, 11 Apr 2008 16:09:16 +0000 Subject: Turn off GHC warnings when running tests --- tests/runtests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.hs b/tests/runtests.hs index 7fadf8a4..480a0961 100644 --- a/tests/runtests.hs +++ b/tests/runtests.hs @@ -61,7 +61,7 @@ testDir libdir dir = do let mods' = map (dir ) mods let outdir = "output" dir createDirectoryIfMissing True outdir - code <- system $ printf "../dist/build/haddock/haddock -B %s -o %s -h --optghc=-fglasgow-exts %s" libdir outdir (unwords mods') + code <- system $ printf "../dist/build/haddock/haddock -B %s -o %s -h --optghc=-fglasgow-exts --optghc=-w %s" libdir outdir (unwords mods') unless (code == ExitSuccess) $ error "Haddock run failed! Exiting." check mods' walkDirs libdir dir -- cgit v1.2.3