Make hadrian refuse to test when flavour is quick (or devel2 or ...)
I have bitten by that twice recently:
As this configuration (running tests with quick flavour) that should be actively discouraged. If someone really needs, there could be a flag
--trust-me to run tests with flavours which are not tested on CI.
Running test suite with flavour=devel2 results in
ghc: Could not load Object Code /code/ghc-asum/_build_master/stage1/lib/x86_64-linux-ghc-9.1.20210408/ghci-9.1/HSghci-9.1.o. ghc: unable to load unit `ghci-9.1'
I'm not going to open issue about that, but it shows my point. Devel2 is recommended in https://gitlab.haskell.org/ghc/ghc/-/wikis/building/quick-start which you land through https://gitlab.haskell.org/ghc/ghc/-/wikis/contributing#first-steps