summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/run-tests
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-02 15:31:39 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-02 15:31:39 +0100
commit929a675a3d2d37fb8c6acbec1b999b9bdd84ff23 (patch)
treed9abf7e2e3d05deaf730a2713cfef037f337ed56 /tests/bytecode/run-tests
parent4d4a7f535495d8fd523f826218e239a74db86d97 (diff)
downloadmicropython-929a675a3d2d37fb8c6acbec1b999b9bdd84ff23.tar.gz
micropython-929a675a3d2d37fb8c6acbec1b999b9bdd84ff23.zip
Change test scripts to use python3; bytecode tests use python3.4.
I upgraded to Python 3.4.0, so needed to make these changes. Hopefully the tests still run with Python 3.3.x (the scripts use python3 so are agnostic as to the subversion). Bytecode tests are tightly coupled to the Python version, and now some fail against Python 3.4.
Diffstat (limited to 'tests/bytecode/run-tests')
-rwxr-xr-xtests/bytecode/run-tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bytecode/run-tests b/tests/bytecode/run-tests
index 36fac03249..06878fe61e 100755
--- a/tests/bytecode/run-tests
+++ b/tests/bytecode/run-tests
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-CPYTHON3=python3.3
+CPYTHON3=python3.4
MP_CPY=../../unix-cpy/cpy
RM=/bin/rm
@@ -17,8 +17,8 @@ function run_test_on_dir() {
basename=$(basename $file .py)
$CPYTHON3 -B -c "import compileall; compileall.compile_file('$file', quiet=True)"
- #/usr/lib/python3.3/compileall.py $file
- $CPYTHON3 -B unpyc.py $1/__pycache__/$basename.cpython-33.pyc > output/$basename.pycout
+ #/usr/lib/python3.4/compileall.py $file
+ $CPYTHON3 -B unpyc.py $1/__pycache__/$basename.cpython-34.pyc > output/$basename.pycout
$MP_CPY $file | $CPYTHON3 -B check.py output/$basename.pycout
done