diff options
author | Damien George <damien@micropython.org> | 2021-03-11 16:09:27 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-03-12 19:56:09 +1100 |
commit | 6129b8e401c36cc68e0f7ba8180da27a40d17621 (patch) | |
tree | f9922a1f34db804d3700ca0570827c2a8762314e /docs/develop | |
parent | b24fcd7aec4b34064e9d9016d417d4ca3cc925cc (diff) |
tests: Rename run-tests to run-tests.py for consistency.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/develop')
-rw-r--r-- | docs/develop/gettingstarted.rst | 2 | ||||
-rw-r--r-- | docs/develop/writingtests.rst | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/develop/gettingstarted.rst b/docs/develop/gettingstarted.rst index 3dd00a579..32435ebe1 100644 --- a/docs/develop/gettingstarted.rst +++ b/docs/develop/gettingstarted.rst @@ -273,7 +273,7 @@ To run a selection of tests on a board/device connected over USB use: .. code-block:: bash $ cd tests - $ ./run-tests --target minimal --device /dev/ttyACM0 + $ ./run-tests.py --target minimal --device /dev/ttyACM0 See also :ref:`writingtests`. diff --git a/docs/develop/writingtests.rst b/docs/develop/writingtests.rst index 4bdf4dd7a..9bb5178f5 100644 --- a/docs/develop/writingtests.rst +++ b/docs/develop/writingtests.rst @@ -4,7 +4,7 @@ Writing tests ============= Tests in MicroPython are located at the path ``tests/``. The following is a listing of -key directories and the run-tests runner script: +key directories and the run-tests.py runner script: .. code-block:: bash @@ -13,7 +13,7 @@ key directories and the run-tests runner script: ├── extmod ├── float ├── micropython - ├── run-tests + ├── run-tests.py ... There are subfolders maintained to categorize the tests. Add a test by creating a new file in one of the @@ -54,17 +54,17 @@ The other way to run tests, which is useful when running on targets other than t .. code-block:: bash $ cd tests - $ ./run-tests + $ ./run-tests.py Then to run on a board: .. code-block:: bash - $ ./run-tests --target minimal --device /dev/ttyACM0 + $ ./run-tests.py --target minimal --device /dev/ttyACM0 And to run only a certain set of tests (eg a directory): .. code-block:: bash - $ ./run-tests -d basics - $ ./run-tests float/builtin*.py + $ ./run-tests.py -d basics + $ ./run-tests.py float/builtin*.py |