summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorNathan Gass <gass@search.ch>2011-01-04 01:00:01 +0100
committerNathan Gass <gass@search.ch>2011-01-10 00:37:46 +0100
commitc0700987ba30de0cd7aa697da144eb19a58147ab (patch)
tree2aa5896d8b6ada15fb79cb09db1b7dbd582c9bed /Setup.hs
parentbda1032f66239bbb83270f015c7fe956f000f190 (diff)
Changed test-pandoc to use test-framework and HUnit.
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index b68435216..432746070 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -46,7 +46,7 @@ runTestSuite _ _ pkg lbi = do
let isHighlightingKate (Dependency (PackageName "highlighting-kate") _) = True
isHighlightingKate _ = False
let highlightingSupport = any isHighlightingKate $ buildDepends pkg
- let testArgs = ["lhs" | highlightingSupport]
+ let testArgs = if highlightingSupport then [] else ["-t", "!lhs"]
inDirectory "tests" $ rawSystem (testDir' </> "test-pandoc")
testArgs >>= exitWith
else do