mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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:
parent
52c1c333ea
commit
f393f59e5d
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue