circuitpython/tests
2021-04-25 19:57:21 +09:00
..
basics modify copyright notice. 2021-04-25 19:57:21 +09:00
bench run code formatting script 2021-03-15 19:27:36 +05:30
circuitpython run code formatting script 2021-03-15 19:27:36 +05:30
circuitpython-manual modify copyright notice. 2021-04-25 19:57:21 +09:00
cmdline update line numbering 2021-03-15 23:01:23 +05:30
cpydiff run code formatting script 2021-03-15 19:27:36 +05:30
extmod extmod/re1.5: Check and report byte overflow errors in _compilecode. 2021-04-06 19:11:40 -05:00
feature_check run code formatting script 2021-03-15 19:27:36 +05:30
float run code formatting script 2021-03-15 19:27:36 +05:30
import run code formatting script 2021-03-15 19:27:36 +05:30
inlineasm run code formatting script 2021-03-15 19:27:36 +05:30
io run code formatting script 2021-03-15 19:27:36 +05:30
jni run code formatting script 2021-03-15 19:27:36 +05:30
micropython update line numbering 2021-03-15 23:01:23 +05:30
misc run code formatting script 2021-03-15 19:27:36 +05:30
net_hosted run code formatting script 2021-03-15 19:27:36 +05:30
net_inet run code formatting script 2021-03-15 19:27:36 +05:30
pyb run code formatting script 2021-03-15 19:27:36 +05:30
pybnative run code formatting script 2021-03-15 19:27:36 +05:30
stress run code formatting script 2021-03-15 19:27:36 +05:30
thread run code formatting script 2021-03-15 19:27:36 +05:30
unicode run code formatting script 2021-03-15 19:27:36 +05:30
unix run code formatting script 2021-03-15 19:27:36 +05:30
wipy run code formatting script 2021-03-15 19:27:36 +05:30
pyboard.py tests: Point pyboard.py to tools/cpboard.py 2018-06-02 19:09:54 +02:00
README all: Remove trailing spaces, per coding conventions. 2017-07-19 13:12:10 +10:00
run-bench-tests tests/run-bench-tests: Update locations of executables, now in ports/. 2017-09-08 12:11:15 +10:00
run-tests also disable async_coroutine test in native emitter 2020-07-23 20:40:16 -07:00
run-tests-exp.py run code formatting script 2021-03-15 19:27:36 +05:30
run-tests-exp.sh run-tests-exp.sh: Typo fix in comment. 2015-02-21 03:22:33 +02:00
skip_if.py run code formatting script 2021-03-15 19:27:36 +05:30

This directory contains tests for various functionality areas of MicroPython.
To run all stable tests, run "run-tests" script in this directory.

Tests of capabilities not supported on all platforms should be written
to check for the capability being present. If it is not, the test
should merely output 'SKIP' followed by the line terminator, and call
sys.exit() to raise SystemExit, instead of attempting to test the
missing capability. The testing framework (run-tests in this
directory, test_main.c in qemu_arm) recognizes this as a skipped test.

There are a few features for which this mechanism cannot be used to
condition a test. The run-tests script uses small scripts in the
feature_check directory to check whether each such feature is present,
and skips the relevant tests if not.

When creating new tests, anything that relies on float support should go in the
float/ subdirectory.  Anything that relies on import x, where x is not a built-in
module, should go in the import/ subdirectory.