docs/develop/gettingstarted: Document the additional unix test targets.

The docs in the port README are nice but don't appear at
docs.micropython.org.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
Jeff Epler
2025-09-21 09:51:01 -05:00
committed by Damien George
parent 7e5c55dc2f
commit 1921d22b35

View File

@@ -282,6 +282,19 @@ To run a selection of tests on a board/device connected over USB use:
See also :ref:`writingtests`.
Additional make targets for developers
--------------------------------------
In ``ports/unix`` there are additional targets related to running tests:
.. code-block:: bash
$ make test//int # Run all tests matching the pattern "int"
$ make test/ports/unix # Run all tests in ports/unix
$ make test-failures # Re-run only the failed tests
$ make print-failures # print the differences for failed tests
$ make clean-failures # delete the .exp and .out files from failed tests
Using ci.sh locally
-------------------