micropython/tests/bytecode
Andrew Scheller 83852d3215 fix README to match contents of run-tests 2014-04-16 20:14:38 +01:00
..
mp-tests tests: Add some bytecode tests. 2014-04-12 18:00:32 +01:00
pylib-tests
.gitignore
README.md fix README to match contents of run-tests 2014-04-16 20:14:38 +01:00
check.py
run-tests Change test scripts to use python3; bytecode tests use python3.4. 2014-04-02 15:31:39 +01:00
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.