diff options
| author | Simon Glass <[email protected]> | 2022-08-06 17:51:59 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-12 18:06:36 -0400 |
| commit | d1962ac7978559735ce172dc2d1822952d89e0a8 (patch) | |
| tree | 121f5bce95b938bd352f65549c224b6c1bd69036 /doc/develop/testing.rst | |
| parent | e1c0811114ea383e8f0cdd1e3535a25421f2619b (diff) | |
Makefile: Add a pcheck option to run tests in parallel
Running tests in parallel is much faster, e.g. 15 seconds to run the tests
on sandbox (only), instead of 100 seconds (on a 16-core machine). Add a
'make pcheck' option to access this feature.
Note that the tools/ tests still run each tool's tests once after the
other, although within that, they do run in parallel. So for example,
the buildman tests run in parallel, then the binman tests run in
parallel. There would be a signiificant advantage to running them all
in parallel together, but that would require a large amount of
refactoring, e.g. with more use of pytest fixtures.
Update the documentation to represent the current state.
Signed-off-by: Simon Glass <[email protected]>
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 |
