[commit: haddock] ghc-7.6: Add missing test files to cabal file (fixes #230) (d78561d)

Simon Hengel <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/d78561d560b55114011d56168dafba00cb4d1f2f

>---------------------------------------------------------------

commit d78561d560b55114011d56168dafba00cb4d1f2f
Author: Simon Hengel <[email protected]>
Date:   Fri Dec 7 20:19:31 2012 +0100

    Add missing test files to cabal file (fixes #230)

>---------------------------------------------------------------

 haddock.cabal |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/haddock.cabal b/haddock.cabal
index 06a8536..2c102bc 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -29,9 +29,8 @@ extra-source-files:
   haddock.spec
   haskell.vim
   src/haddock.sh
--- The test files shouldn't have to go here, but the source files for
--- the test-suite stanzas don't get picked up by `cabal sdist`.
-  tests/html-test/run.lhs
+  html-test/src/*.hs
+  html-test/ref/*.html
 
 data-dir:   resources
 data-files: html/frames.html
@@ -199,6 +198,10 @@ test-suite spec
     , test/nanospec
     , src
 
+  other-modules:
+      Test.Hspec
+      Haddock.ParseSpec
+
   build-depends:
       base
     , ghc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.