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

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

Details

Summary

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,
unconditionally.

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

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
alpmestan created this revision.Mon, Nov 19, 4:42 AM
tdammers accepted this revision.Mon, Nov 19, 6:11 AM
This revision is now accepted and ready to land.Mon, Nov 19, 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.