aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2011-05-22 15:41:52 +0000
committerDavid Waern <david.waern@gmail.com>2011-05-22 15:41:52 +0000
commitaee6d6b5b733aa9bcfa278f8ed8e7c93472c4671 (patch)
tree39bf61c2e923fe9ec0416f83a3c4dd2f394634e6 /haddock.cabal
parent2c838a70e3a5906d2168d9b064960af021b534bc (diff)
Use cabal's test suite support to run the test suite
This gives up proper dependency tracking of the test script.
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal8
1 files changed, 8 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 2f361873..60826ea1 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -198,3 +198,11 @@ library
if flag(in-ghc-tree)
buildable: False
+
+test-suite html-tests
+ type: exitcode-stdio-1.0
+ default-language: Haskell2010
+ main-is: runtests.hs
+ hs-source-dirs: tests/html-tests
+ build-depends: base, directory, process, filepath, Cabal, regex-compat
+