micropython/tests/bytecode
Damien George 57ebe1b27d unix-cpy: Fix adjustment of stack size when leaving exception handler.
Also remove __debug__ from one of the bytecode tests.
2015-05-06 16:46:21 +01:00
..
mp-tests
pylib-tests unix-cpy: Fix adjustment of stack size when leaving exception handler. 2015-05-06 16:46:21 +01:00
.gitignore
README.md
check.py
run-tests
unpyc.py

README.md

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.4.

To run the tests use:

./run-tests

Note that the tests in pylib-test/ are from the Python 3.3 library, and are licensed under the relevant license, as per pylib-test/LICENSE.txt.