diff --git a/utils/haddock/CONTRIBUTING.md b/utils/haddock/CONTRIBUTING.md index eccc51fdf5ab110934148409a3acb6757d36d810..bd8b0acf13cc0a523f670e33995e717652fce4ef 100644 --- a/utils/haddock/CONTRIBUTING.md +++ b/utils/haddock/CONTRIBUTING.md @@ -28,6 +28,17 @@ Then, run the following command from the top-level: $ ./hadrian/build -j --flavour=Quick --freeze1 _build/stage1/bin/haddock ``` +### Running the test suites + +Currently, this cannot be done with hadrian but has to be done with a +`cabal-install` built from `master`. + +``` +cabal test -w <absolute-path-to-ghc-repo>/_build/stage1/bin/ghc +``` + +For more details, see https://gitlab.haskell.org/ghc/ghc/-/issues/24976. + ## Working with the codebase The project provides a Makefile with rules to accompany you during development: diff --git a/utils/haddock/cabal.project b/utils/haddock/cabal.project index 28290fd794e84b6938c9dfcc8eb22b73e2798417..426ca8283700d41b856579a2e21d0a37e4da3b0d 100644 --- a/utils/haddock/cabal.project +++ b/utils/haddock/cabal.project @@ -1,5 +1,3 @@ -with-compiler: ghc-9.7 - packages: ./ ./haddock-api ./haddock-library