You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Damien George 57ebe1b27d unix-cpy: Fix adjustment of stack size when leaving exception handler. 10 years ago
..
mp-tests tests: Add some bytecode tests. 11 years ago
pylib-tests unix-cpy: Fix adjustment of stack size when leaving exception handler. 10 years ago
.gitignore Add 2 files to a gitignore. 11 years ago
README.md fix README to match contents of run-tests 11 years ago
check.py Add tests to test compiler and emitted byte code. 11 years ago
run-tests Change test scripts to use python3; bytecode tests use python3.4. 11 years ago
unpyc.py Add tests to test compiler and emitted byte code. 11 years ago

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.