Skip to content
Snippets Groups Projects
Commit 4570319f authored by Jacco Krijnen's avatar Jacco Krijnen Committed by Marge Bot
Browse files

Document how to run haddocks tests (#24976)

Also remove ghc 9.7 requirement
parent 7b23ce8b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
with-compiler: ghc-9.7
packages: ./
./haddock-api
./haddock-library
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment