aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pandoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pandoc.hs')
-rw-r--r--tests/test-pandoc.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test-pandoc.hs b/tests/test-pandoc.hs
index 67ca5eae2..ae521541a 100644
--- a/tests/test-pandoc.hs
+++ b/tests/test-pandoc.hs
@@ -38,4 +38,7 @@ tests = [ testGroup "Old" Tests.Old.tests
main :: IO ()
main = do
setLocaleEncoding utf8
- inDirectory "tests" $ defaultMain tests
+ -- we ignore command-line arguments, since we're having cabal pass
+ -- the build directory as first argument, and we don't want test-framework
+ -- to choke on that.
+ inDirectory "tests" $ defaultMainWithArgs tests []