From ba880b4c29724768eec5a3c07c79d5525e8b7992 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 5dd0a9a8..ca693fa5 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -52,6 +52,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? @@ -189,6 +191,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