patman: document how to run test suite via pytest
Pytest offers useful features such as selecting tests by means of a regular expression, or running the pdb debugger upon encountering a test failure. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
This commit is contained in:
committed by
Simon Glass
parent
52c1c333ea
commit
f393f59e5d
@@ -684,6 +684,12 @@ Note that since the test suite depends on data files only available in
|
||||
the git checkout, the `test` command is hidden unless `patman` is
|
||||
invoked from the U-Boot git repository.
|
||||
|
||||
Alternatively, you can run the test suite via Pytest:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ cd tools/patman && pytest
|
||||
|
||||
Error handling doesn't always produce friendly error messages - e.g.
|
||||
putting an incorrect tag in a commit may provide a confusing message.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user