summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-13 08:12:07 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-13 08:12:07 -0700
commit1d6e1cf9f3d45147538aee639e00a3ae95260055 (patch)
tree04328a2c7db0e54a7dd6c80464671a91237fcad9 /pandoc.cabal
parent22ab3367c6ce7a87a479a4630a6ba4305ad5d333 (diff)
Removed special testHook from Setup.
This was just too fragile and dependent on a changing Cabal API (see #1526). Instead of passing the bulid directory to the test program, we now let the test program find itself (using executable-path) and then find the pandoc executable relative to itself.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 39e901614..80fd994e6 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -406,6 +406,7 @@ Test-Suite test-pandoc
HUnit >= 1.2 && < 1.3,
containers >= 0.1 && < 0.6,
ansi-terminal >= 0.5 && < 0.7,
+ executable-path >= 0.0 && < 0.1,
zip-archive >= 0.2.3.4 && < 0.3
Other-Modules: Tests.Old
Tests.Helpers