[PATCH v2 02/40] doc: Document make tcheck

Simon Glass sjg at chromium.org
Sun Jan 31 04:32:10 CET 2021


Add a comment about this option in the documentation. Also mention the
script that runs these combinations.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Expand docs on how each type of test is marked

 doc/develop/testing.rst | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/doc/develop/testing.rst b/doc/develop/testing.rst
index bc74eb53e35..f01ca4dc408 100644
--- a/doc/develop/testing.rst
+++ b/doc/develop/testing.rst
@@ -15,10 +15,20 @@ To run most tests on sandbox, type this::
 in the U-Boot directory. Note that only the pytest suite is run using this
 command.
 
-Some tests take ages to run. To run just the quick ones, type this::
+Some tests take ages to run and are marked with @pytest.mark.slow. To run just
+the quick ones, type this::
 
     make qcheck
 
+It is also possible to run just the tests for tools (patman, binman, etc.).
+Such tests are included with those tools, i.e. no actual U-Boot unit tests are
+run. Type this::
+
+    make tcheck
+
+All of the above use the test/run script with a paremeter to select which tests
+are run.
+
 
 Sandbox
 -------
-- 
2.30.0.365.g02bc693789-goog



More information about the U-Boot mailing list