[commit: haddock] 2.17.3.1-spanfix: Remove test sections (5000899)

git at git.haskell.org git at git.haskell.org
Tue Nov 28 11:50:19 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branch  : 2.17.3.1-spanfix
Link       : http://git.haskell.org/haddock.git/commitdiff/5000899cb8240e90a4c0e2f537494d615bea67b1

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

commit 5000899cb8240e90a4c0e2f537494d615bea67b1
Author: Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>
Date:   Fri Mar 31 11:53:21 2017 +0100

    Remove test sections
    
    Cabal gets confused:
    ```
    There were multiple candidates for the Cabal entry
    "Main.hs" (/tmp/build/backend/server/.stack-work/downloaded/O6p9y8I_ceX7/driver/Main.hs),
    picking
    /tmp/build/backend/server/.stack-work/downloaded/O6p9y8I_ceX7/driver-test/Main.hs
    ```


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

5000899cb8240e90a4c0e2f537494d615bea67b1
 haddock.cabal | 36 ------------------------------------
 1 file changed, 36 deletions(-)

diff --git a/haddock.cabal b/haddock.cabal
index 9272997..ad1ee60 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -121,42 +121,6 @@ executable haddock
   else
     build-depends:  haddock-api == 2.17.*
 
-test-suite driver-test
-  type:             exitcode-stdio-1.0
-  default-language: Haskell2010
-  main-is:          Main.hs
-  hs-source-dirs:   driver-test, driver
-  build-depends:    base, hspec
-
-test-suite html-test
-  type:             exitcode-stdio-1.0
-  default-language: Haskell2010
-  main-is:          Main.hs
-  hs-source-dirs:   html-test
-  build-depends:    base, filepath, haddock-test
-
-test-suite hypsrc-test
-  type:             exitcode-stdio-1.0
-  default-language: Haskell2010
-  main-is:          Main.hs
-  hs-source-dirs:   hypsrc-test
-  build-depends:    base, filepath, haddock-test
-  ghc-options:      -Wall -fwarn-tabs
-
-test-suite latex-test
-  type:             exitcode-stdio-1.0
-  default-language: Haskell2010
-  main-is:          Main.hs
-  hs-source-dirs:   latex-test
-  build-depends:    base, filepath, haddock-test
-
-test-suite hoogle-test
-  type:             exitcode-stdio-1.0
-  default-language: Haskell2010
-  main-is:          Main.hs
-  hs-source-dirs:   hoogle-test
-  build-depends:    base, filepath, haddock-test
-
 source-repository head
   type:     git
   location: https://github.com/haskell/haddock.git



More information about the ghc-commits mailing list