hadrian: make it possible to run the testsuite with quickest and quick

Authored by alpmestan on Nov 19 2018, 4:42 AM.



More generally, we so far assumed that the testsuite would be executed with
a flavour that's as comprehensive as perf in terms of available RTS and
library flavours (at least vanilla + dynamic + prof). This would manifest
itself concretely by needing 3 "ways" of the iserv program,

We now only require the ways among vanilla, dynamic and prof that we can find
in our current Flavour's rtsWays.

Test Plan

hadrian/build.sh --flavour={quick, quickest} test now goes through
(with a few failing tests, of course).

Diff Detail

rGHC Glasgow Haskell Compiler
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
alpmestan created this revision.Nov 19 2018, 4:42 AM
tdammers accepted this revision.Nov 19 2018, 6:11 AM
This revision is now accepted and ready to land.Nov 19 2018, 6:11 AM

I confirm that with this patch, we can run the testsuite with quickest/quick/perf, building respectively the vanilla, vanilla+dynamic, vanilla+dynamic+profiling "ways" of the iserv program along the way.

This revision was automatically updated to reflect the committed changes.