Add Python 3.5 tests that we can do.

This commit is contained in:
rocky
2016-01-07 04:32:20 -05:00
parent f25c9b45a4
commit 551e2174cb
32 changed files with 8 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ check-bytecode-2:
#: Check deparsing bytecode only #: Check deparsing bytecode only
check-bytecode: check-bytecode:
$(PYTHON) test_pythonlib.py --bytecode-2.5 --bytecode-2.6 --bytecode-2.7 \ $(PYTHON) test_pythonlib.py --bytecode-2.5 --bytecode-2.6 --bytecode-2.7 \
--bytecode-3.2 --bytecode-3.3 --bytecode-3.4 --bytecode-3.2 --bytecode-3.3 --bytecode-3.4 --bytecode-3.5
#: Check deparsing Python 2.5 #: Check deparsing Python 2.5
check-bytecode-2.5: check-bytecode-2.5:
@@ -70,6 +70,10 @@ check-bytecode-3.3:
check-bytecode-3.4: check-bytecode-3.4:
$(PYTHON) test_pythonlib.py --bytecode-3.4 $(PYTHON) test_pythonlib.py --bytecode-3.4
#: Check deparsing Python 3.5
check-bytecode-3.5:
$(PYTHON) test_pythonlib.py --bytecode-3.5
#: short tests for bytecodes only for this version of Python #: short tests for bytecodes only for this version of Python
check-native-short: check-native-short:
$(PYTHON) test_pythonlib.py --bytecode-$(PYTHON_VERSION) --verify $(COMPILE) $(PYTHON) test_pythonlib.py --bytecode-$(PYTHON_VERSION) --verify $(COMPILE)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
test/bytecode_3.5/05_if.pyc Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -70,7 +70,8 @@ for root, dirs, basenames in os.walk('simple_source'):
simple_source.append(os.path.join(root, basename)[0:-3]) simple_source.append(os.path.join(root, basename)[0:-3])
pass pass
tests['2.6'] = tests['2.7'] = tests['3.2'] = tests['3.3'] = tests['3.4'] = simple_source tests['2.6'] = tests['2.7'] = tests['3.2'] = \
tests['3.3'] = tests['3.4'] = tests['3.5'] = simple_source
total_tests = len(tests['2.7']) total_tests = len(tests['2.7'])
#tests['2.2'].sort(); print tests['2.2'] #tests['2.2'].sort(); print tests['2.2']

View File

@@ -76,7 +76,7 @@ for vers in (2.7, 3.4):
test_options[key] = (os.path.join(src_dir, pythonlib), PYC, key, vers) test_options[key] = (os.path.join(src_dir, pythonlib), PYC, key, vers)
pass pass
for vers in (2.5, 2.6, 2.7, 3.2, 3.3, 3.4): for vers in (2.5, 2.6, 2.7, 3.2, 3.3, 3.4, 3.5):
bytecode = "bytecode_%s" % vers bytecode = "bytecode_%s" % vers
key = "bytecode-%s" % vers key = "bytecode-%s" % vers
test_options[key] = (bytecode, PYC, bytecode, vers) test_options[key] = (bytecode, PYC, bytecode, vers)