micropython/tests/bytecode
2013-12-29 18:22:03 +00:00
..
mp-tests Add tests to test compiler and emitted byte code. 2013-12-29 18:21:02 +00:00
pylib-tests Add tests to test compiler and emitted byte code. 2013-12-29 18:21:02 +00:00
.gitignore Add 2 files to a gitignore. 2013-12-29 18:22:03 +00:00
check.py Add tests to test compiler and emitted byte code. 2013-12-29 18:21:02 +00:00
README.md Add tests to test compiler and emitted byte code. 2013-12-29 18:21:02 +00:00
run-tests Add tests to test compiler and emitted byte code. 2013-12-29 18:21:02 +00:00
unpyc.py Add tests to test compiler and emitted byte code. 2013-12-29 18:21:02 +00:00

This directory contains the framework and test files for testing the byte code output of the Micro Python compiler.

You need to first build the 'cpy' executable in the directory micropython/unix-cpy/. This executable is a minimal version of Micro Python which compiles a single source file and outputs the corresponding byte code.

The output of Micro Python is checked against CPython 3.3.

To run the tests use:

./run-tests