diff options
| author | Tom Rini <[email protected]> | 2022-09-13 08:59:11 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-13 08:59:11 -0400 |
| commit | aa2ef9f525a4d31ec3ae451b927cc714ba926157 (patch) | |
| tree | 121f5bce95b938bd352f65549c224b6c1bd69036 /doc/develop/testing.rst | |
| parent | 98b3a998b31a83d8167f888b11ddd5cce8194f35 (diff) | |
| parent | d1962ac7978559735ce172dc2d1822952d89e0a8 (diff) | |
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'.
Diffstat (limited to 'doc/develop/testing.rst')
| -rw-r--r-- | doc/develop/testing.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/develop/testing.rst b/doc/develop/testing.rst index 1abe4d7f0f0..5afeb42f696 100644 --- a/doc/develop/testing.rst +++ b/doc/develop/testing.rst @@ -28,8 +28,12 @@ run. Type this:: make tcheck +You can also run a selection tests in parallel with:: + + make pcheck + All of the above use the test/run script with a paremeter to select which tests -are run. +are run. See :doc:`py_testing` for more information. Sandbox |
