aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-04-11 16:00:45 +0000
committerDavid Waern <david.waern@gmail.com>2008-04-11 16:00:45 +0000
commit7963edd223159a6d4633cd383339bed7f4617d11 (patch)
treef5f769cc967a56adf62dfb45179f666c7b1ef392 /tests
parent5f879151761fac778ade71c663883571329bc78d (diff)
Use the in-place haddock when running tests
Diffstat (limited to 'tests')
-rw-r--r--tests/runtests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.hs b/tests/runtests.hs
index d3fa71de..7fadf8a4 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 "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 %s" libdir outdir (unwords mods')
unless (code == ExitSuccess) $ error "Haddock run failed! Exiting."
check mods'
walkDirs libdir dir