micropython/tests
Damien George 9988618e0e py: Implement full func arg passing for native emitter.
This patch gets full function argument passing working with native
emitter.  Includes named args, keyword args, default args, var args
and var keyword args.  Fully Python compliant.

It reuses the bytecode mp_setup_code_state function to do all the hard
work.  This function is slightly adjusted to accommodate native calls,
and the native emitter is forced a bit to emit similar prelude and
code-info as bytecode.
2015-04-07 22:43:28 +01:00
..
basics tests: Add some more tests to improve code coverage of corner cases. 2015-04-05 00:03:43 +01:00
bench py: Use sequence of strings for named tuple initialization 2015-01-01 14:53:23 +02:00
bytecode fix README to match contents of run-tests 2014-04-16 20:14:38 +01:00
cmdline py: Simplify bytecode prelude when encoding closed over variables. 2015-04-07 00:08:17 +01:00
extmod tests: Add some more tests to improve code coverage of corner cases. 2015-04-05 00:03:43 +01:00
float tests: Add tests to exercise lexer; and some more complex number tests. 2015-04-04 23:16:22 +01:00
import tests: Add another testcase for relative imports. 2015-02-16 12:11:41 +02:00
inlineasm tests: Add tests for inline assembler beq_n and beq_w ops. 2015-03-02 14:31:00 +00:00
io tests: Add missing tests for builtins, and many other things. 2015-04-04 22:05:30 +01:00
micropython tests: Add missing tests for builtins, and many other things. 2015-04-04 22:05:30 +01:00
misc py: Fix adding of traceback so that it appends to existing info. 2015-02-27 00:36:39 +00:00
pyb tests: Make pyb/timer test check callback timing properly. 2015-03-20 23:50:33 +00:00
pybnative py: Fix stack access in thumb native emitter. 2014-05-07 23:27:45 +01:00
unicode tests: Add missing tests for builtins, and many other things. 2015-04-04 22:05:30 +01:00
unix tests: Make ffi_callback.py be able to run on uclibc and macosx. 2015-01-10 00:35:48 +02: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 py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +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.