From 2eda70874ef193c609207db2ba87324244afcf84 Mon Sep 17 00:00:00 2001 From: Damien Date: Sun, 29 Dec 2013 18:21:02 +0000 Subject: Add tests to test compiler and emitted byte code. --- tests/bytecode/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/bytecode/README.md (limited to 'tests/bytecode/README.md') diff --git a/tests/bytecode/README.md b/tests/bytecode/README.md new file mode 100644 index 000000000..e8778900b --- /dev/null +++ b/tests/bytecode/README.md @@ -0,0 +1,12 @@ +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 -- cgit v1.2.3