Merge branch '2022-09-12-update-pytests-for-more-parellel-support' into next
authorTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 12:59:11 +0000 (08:59 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 12:59:11 +0000 (08:59 -0400)
commitaa2ef9f525a4d31ec3ae451b927cc714ba926157
tree121f5bce95b938bd352f65549c224b6c1bd69036
parent98b3a998b31a83d8167f888b11ddd5cce8194f35
parentd1962ac7978559735ce172dc2d1822952d89e0a8
Merge branch '2022-09-12-update-pytests-for-more-parellel-support' into next

To quote the author:
This series makes a further attempt to get closer to having all tests
run in parallel. It introduces a new 'make pcheck' option which runs
tests in parallel, skipping those that are not compatible.

A number of fixes are included for existing tests. The vboot test is
updated to only run a single scenario in 'quick' mode.

This makes use of pytest's parallel-testing features. The resulting
times (including incremental building with LTO) on a 16-core machine are
as follows:

   make pcheck        - 1 minute 6 seconds
   make qcheck        - 3 minutes
   make check         - 5 minutes 15 seconds

Note that this is not a fair comparison, since 'make pcheck' omits a
number of tests, even more than 'make qcheck'.