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.
 
 
 
 
 
 
Tom Soulanille 3dd0b69e46 run-tests: Use PTY when running REPL tests. 9 years ago
..
basics tests: Skip parser test if "compile" builtin is not available. 9 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 run-tests: Use PTY when running REPL tests. 9 years ago
extmod modmachine: Implement physical memory access using /dev/mem (Linux, etc). 9 years ago
float modbuiltins: Implement round() to precision. 9 years ago
import tests: Add test for relative import without package context. 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: Allow viper functions to take up to 4 arguments. 9 years ago
misc tests: Adapt misc/features.py tests for ports without floating point. 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 run-tests: Use PTY when running REPL tests. 9 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.