summaryrefslogtreecommitdiff
path: root/tests/Tests/Old.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-03 17:17:30 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:40 +0100
commit63dc6bd02509eb31d9d221c4e39f18af2b77fe6d (patch)
treed74df0d57aa4c32eb8fed42a7548d98c3e1d5a19 /tests/Tests/Old.hs
parent2710fc426130738715fdf1ac6dd0c111a5ac8340 (diff)
Added a `--quiet` option to suppress warnings.
Use this also in Tests.Old.
Diffstat (limited to 'tests/Tests/Old.hs')
-rw-r--r--tests/Tests/Old.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
index a8ac717e4..04612d49d 100644
--- a/tests/Tests/Old.hs
+++ b/tests/Tests/Old.hs
@@ -261,7 +261,7 @@ testWithNormalize normalizer testname opts inp norm = testCase testname $ do
(outputPath, hOut) <- openTempFile "" "pandoc-test"
let inpPath = inp
let normPath = norm
- let options = ["--data-dir", ".." </> "data"] ++ [inpPath] ++ opts
+ let options = ["--quiet", "--data-dir", ".." </> "data"] ++ [inpPath] ++ opts
let cmd = pandocPath ++ " " ++ unwords options
let findDynlibDir [] = Nothing
findDynlibDir ("build":xs) = Just $ joinPath (reverse xs) </> "build"