[commit: haddock] 2.17.3.1-spanfix, alexbiehl-patch-1, ghc-8.0, ghc-8.0-facebook, ghc-head, ghc-head1, haddock-quick, headdock-library-1.4.5, ie_avails, issue-303, issue-475, master, pr-filter-maps, pr/cabal-desc, travis, v2.17, v2.17.3, v2.18, wip-located-module-as, wip/D2418, wip/T11080-open-data-kinds, wip/T11430, wip/T12105, wip/T12105-2, wip/T12942, wip/T13163, wip/T3384, wip/embelleshed-rdr, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: Setup test suite for Hoogle backend. (acf526f)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 20:54:45 UTC 2017


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

On branches: 2.17.3.1-spanfix,alexbiehl-patch-1,ghc-8.0,ghc-8.0-facebook,ghc-head,ghc-head1,haddock-quick,headdock-library-1.4.5,ie_avails,issue-303,issue-475,master,pr-filter-maps,pr/cabal-desc,travis,v2.17,v2.17.3,v2.18,wip-located-module-as,wip/D2418,wip/T11080-open-data-kinds,wip/T11430,wip/T12105,wip/T12105-2,wip/T12942,wip/T13163,wip/T3384,wip/embelleshed-rdr,wip/new-tree-one-param,wip/rae,wip/remove-frames,wip/remove-frames1,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13
Link       : http://git.haskell.org/haddock.git/commitdiff/acf526f68d0ecb3ddf4ddd6efcee7774cd8ffa54

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

commit acf526f68d0ecb3ddf4ddd6efcee7774cd8ffa54
Author: Ɓukasz Hanuszczak <lukasz.hanuszczak at gmail.com>
Date:   Wed Aug 19 14:43:39 2015 +0200

    Setup test suite for Hoogle backend.


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

acf526f68d0ecb3ddf4ddd6efcee7774cd8ffa54
 haddock.cabal                       | 7 +++++++
 {latex-test => hoogle-test}/Main.hs | 2 +-
 {html-test => hoogle-test}/run      | 0
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/haddock.cabal b/haddock.cabal
index ea21486..aba0c39 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -144,6 +144,13 @@ test-suite latex-test
   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
diff --git a/latex-test/Main.hs b/hoogle-test/Main.hs
old mode 100755
new mode 100644
similarity index 87%
copy from latex-test/Main.hs
copy to hoogle-test/Main.hs
index 2ee01a2..9da20c3
--- a/latex-test/Main.hs
+++ b/hoogle-test/Main.hs
@@ -23,5 +23,5 @@ main :: IO ()
 main = do
     cfg <- parseArgs checkConfig dirConfig =<< getArgs
     runAndCheck $ cfg
-        { cfgHaddockArgs = cfgHaddockArgs cfg ++ ["--latex"]
+        { cfgHaddockArgs = cfgHaddockArgs cfg ++ ["--hoogle"]
         }
diff --git a/html-test/run b/hoogle-test/run
similarity index 100%
copy from html-test/run
copy to hoogle-test/run



More information about the ghc-commits mailing list