diff options
author | Łukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-08-04 14:44:01 +0200 |
---|---|---|
committer | Łukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-08-22 23:40:26 +0200 |
commit | c96ac677097f3500ca923a5b3a32818f8f75a5be (patch) | |
tree | 92c2817e728f045d3c45c0f50f084e85327392a4 | |
parent | 076e04cd4c049ddfad6feed242e2c1024d5db101 (diff) |
Fix bug with test runner not producing any output files.
-rwxr-xr-x | html-test/run.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/html-test/run.hs b/html-test/run.hs index 62e8bc23..5678a877 100755 --- a/html-test/run.hs +++ b/html-test/run.hs @@ -61,7 +61,7 @@ checkOutput _ = return () -- TODO. runHaddock :: Config -> IO () runHaddock (Config { .. }) = do handle <- runProcess' cfgHaddockPath $ processConfig - { pcArgs = cfgHaddockArgs + { pcArgs = cfgHaddockArgs ++ cfgFiles , pcEnv = Just $ cfgEnv } waitForSuccess "Failed to run Haddock on specified test files" handle @@ -100,6 +100,7 @@ loadConfig flags files = do [ pure ["--no-warnings"] , pure ["--odir=" ++ outDir] , pure ["--pretty-html"] + , pure ["--html"] , pure ["--optghc=-w"] , pure $ flagsHaddockOptions flags , baseDependencies cfgGhcPath |