Skip to content

Commit 1921d22

Browse files
jeplerdpgeorge
authored andcommitted
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 <[email protected]>
1 parent 7e5c55d commit 1921d22

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/develop/gettingstarted.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,19 @@ To run a selection of tests on a board/device connected over USB use:
282282
283283
See also :ref:`writingtests`.
284284

285+
Additional make targets for developers
286+
--------------------------------------
287+
288+
In ``ports/unix`` there are additional targets related to running tests:
289+
290+
.. code-block:: bash
291+
292+
$ make test//int # Run all tests matching the pattern "int"
293+
$ make test/ports/unix # Run all tests in ports/unix
294+
$ make test-failures # Re-run only the failed tests
295+
$ make print-failures # print the differences for failed tests
296+
$ make clean-failures # delete the .exp and .out files from failed tests
297+
285298
Using ci.sh locally
286299
-------------------
287300

0 commit comments

Comments
 (0)