You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Paul Sokolovsky a06c38b486 tests: Add testcase for open(..., "a"). 10 years ago
..
basics py: Use a wrapper to explicitly check self argument of builtin methods. 10 years ago
bench py: Use sequence of strings for named tuple initialization 10 years ago
bytecode unix-cpy: Fix adjustment of stack size when leaving exception handler. 10 years ago
cmdline py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
extmod tests: Check that machine module exists and print SKIP if it doesn't. 10 years ago
float py: Implement second arg for math.log (optional value for base). 10 years ago
import tests: Add another testcase for relative imports. 10 years ago
inlineasm py/inlinethumb: Support for core floating point instructions. 10 years ago
io tests: Add testcase for open(..., "a"). 10 years ago
micropython py: Fallback to stack alloca for Python-stack if heap alloc fails. 10 years ago
misc tests: Add test for recursive iternext stack overflow. 10 years ago
pyb tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. 10 years ago
pybnative py: Fix stack access in thumb native emitter. 11 years ago
unicode py: Support unicode (utf-8 encoded) identifiers in Python source. 10 years ago
unix tests: Add special tests to test mp_printf function to improve coverage. 10 years ago
README tests: Split out those tests requiring float and import. 11 years ago
pyboard.py tests: Add a suite of tests specifically for the pyboard. 11 years ago
run-bench-tests tests: Add framework for comparative benchmarking. 11 years ago
run-tests unix: Allow to cat a script into stdin from the command line. 10 years ago
run-tests-exp.py tests: Add run-tests-exp.py, simple MicroPython-based test runner. 10 years ago
run-tests-exp.sh run-tests-exp.sh: Typo fix in comment. 10 years ago

README

This directory contains tests for various functionality areas of MicroPython.
To run all stable tests, run "run-tests" script in this directory. Note
that bytecode tests are not yet stable and should be run separately in
"bytecode" subdirectory.

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.