micropython/tests
Paul Sokolovsky 354d17523f modmachine: Implement physical memory access using /dev/mem (Linux, etc).
This requires root access. And on recent Linux kernels, with
CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in
/proc/iomem can be accessed. The above compiled-time option can be
however overriden with boot-time option "iomem=relaxed".

This also removed separate read/write paths - there unlikely would
be a case when they're different.
2015-07-08 11:37:23 +03:00
..
basics tests: Adapt basics/memoryerror.py for ports with lower heap sizes. 2015-06-24 15:25:59 +02:00
bench py: Use sequence of strings for named tuple initialization 2015-01-01 14:53:23 +02:00
bytecode unix-cpy: Fix adjustment of stack size when leaving exception handler. 2015-05-06 16:46:21 +01:00
cmdline py: Remove mp_load_const_bytes and instead load precreated bytes object. 2015-06-25 14:42:13 +00:00
extmod modmachine: Implement physical memory access using /dev/mem (Linux, etc). 2015-07-08 11:37:23 +03:00
float py: Implement second arg for math.log (optional value for base). 2015-06-13 22:35:25 +01:00
import tests: Add test for relative import without package context. 2015-06-27 00:40:22 +03:00
inlineasm py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
io tests: Add testcase for open(..., "a"). 2015-06-21 00:05:09 +03:00
micropython py: Fallback to stack alloca for Python-stack if heap alloc fails. 2015-06-08 22:07:27 +01:00
misc tests: Adapt misc/features.py tests for ports without floating point. 2015-06-24 17:53:29 +01:00
pyb tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. 2015-05-28 11:06:12 +01:00
pybnative py: Fix stack access in thumb native emitter. 2014-05-07 23:27:45 +01:00
unicode py: Support unicode (utf-8 encoded) identifiers in Python source. 2015-06-09 10:58:07 +00:00
unix tests: Add special tests to test mp_printf function to improve coverage. 2015-05-28 14:25:07 +00:00
README tests: Split out those tests requiring float and import. 2014-04-17 16:21:43 +01:00
pyboard.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
run-bench-tests tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
run-tests tests: Split out json float tests to separate files. 2015-06-25 10:50:00 +01:00
run-tests-exp.py tests: Add run-tests-exp.py, simple MicroPython-based test runner. 2014-12-24 16:34:05 +00:00
run-tests-exp.sh run-tests-exp.sh: Typo fix in comment. 2015-02-21 03:22:33 +02:00

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.