diff options
author | David Waern <david.waern@gmail.com> | 2008-04-11 17:24:00 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-04-11 17:24:00 +0000 |
commit | a75db99a9c2fb5b22a65c0a5b030c855dd1d8cba (patch) | |
tree | 22c06bb487be0a601b0e374d424890e34b0be8f9 /tests | |
parent | 9a21555c26c61cf3bb9b5353a838bf147816dad9 (diff) |
Add a flag for turning off all warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runtests.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.hs b/tests/runtests.hs index 480a0961..0f815294 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 --optghc=-w %s" libdir outdir (unwords mods') + code <- system $ printf "../dist/build/haddock/haddock -B %s -w -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 |