From: Simon Glass Date: Sat, 18 May 2019 04:00:52 +0000 (-0600) Subject: binman: Document parallel tests X-Git-Tag: v2019.10-rc1~32^2~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=55660d08a095158069ec37915ec4f0843588cd58;p=oweals%2Fu-boot.git binman: Document parallel tests Since binman can run tests in parallel, document this. Signed-off-by: Simon Glass --- diff --git a/tools/binman/README b/tools/binman/README index 927fa856ac..ac193f16cf 100644 --- a/tools/binman/README +++ b/tools/binman/README @@ -702,6 +702,20 @@ To enable Python test coverage on Debian-type distributions (e.g. Ubuntu): $ sudo apt-get install python-coverage python-pytest +Concurrent tests +---------------- + +Binman tries to run tests concurrently. This means that the tests make use of +all available CPUs to run. + + To enable this: + + $ sudo apt-get install python-subunit python3-subunit + +Use '-P 1' to disable this. It is automatically disabled when code coverage is +being used (-T) since they are incompatible. + + Advanced Features / Technical docs ----------------------------------