- Depend on docs target before running tests in hadrian (#19072 (closed), #17728 (closed), #20176 (closed)) if we are going to be running any haddock tests
- Build validate-x86_64-linux-deb9-debug with hyperlinked source (#20067 (closed))
- Add a
--test-have-intree-filesflag to the hadrian test runner so that it can run
in_compiler_treetests even when testing the bindist
We teach the testsuite driver to report any extra hadrian targets it might need, like haddock docs. The driver only reports these targets if
the tests in question are actually going to be run. In particular, if you pass
--only="T1 T2 T3", and neither of
T3 require a hadrian target, then that target will not be built.
Then we add "docs-haddock" as a required target for all the haddock tests, taking care of point 1.