From 4a2ad11155014bcf13a7dbd7f6b9e2c530ac3b79 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 16 Aug 2022 12:24:49 +1000 Subject: Adding initial test for the org backend. --- haddock.cabal | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'haddock.cabal') diff --git a/haddock.cabal b/haddock.cabal index 1ac19cfc..2bb6a352 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -54,6 +54,8 @@ extra-source-files: latex-test/ref/**/*.tex hoogle-test/src/**/*.hs hoogle-test/ref/**/*.txt + org-test/src/*.hs + org-test/ref/*.org flag in-ghc-tree description: Are we in a GHC tree? @@ -191,6 +193,14 @@ test-suite hoogle-test hs-source-dirs: hoogle-test build-depends: base, filepath, haddock-test == 0.0.1 +test-suite org-test + type: exitcode-stdio-1.0 + build-tool-depends: haddock:haddock + default-language: Haskell2010 + main-is: Main.hs + hs-source-dirs: org-test + build-depends: base, filepath, haddock-test == 0.0.1 + source-repository head type: git location: https://g.ypei.me/haddock.git -- cgit v1.2.3