diff options
author | Nathan Gass <gass@search.ch> | 2011-01-04 01:00:01 +0100 |
---|---|---|
committer | Nathan Gass <gass@search.ch> | 2011-01-10 00:37:46 +0100 |
commit | c0700987ba30de0cd7aa697da144eb19a58147ab (patch) | |
tree | 2aa5896d8b6ada15fb79cb09db1b7dbd582c9bed /Setup.hs | |
parent | bda1032f66239bbb83270f015c7fe956f000f190 (diff) | |
download | pandoc-c0700987ba30de0cd7aa697da144eb19a58147ab.tar.gz |
Changed test-pandoc to use test-framework and HUnit.
Diffstat (limited to 'Setup.hs')
-rw-r--r-- | Setup.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |