You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Include Python 2.2 in testing
This commit is contained in:
@@ -48,7 +48,8 @@ check-disasm:
|
|||||||
|
|
||||||
#: Check deparsing bytecode 2.x only
|
#: Check deparsing bytecode 2.x only
|
||||||
check-bytecode-2:
|
check-bytecode-2:
|
||||||
$(PYTHON) test_pythonlib.py --bytecode-2.3 --bytecode-2.4 \
|
$(PYTHON) test_pythonlib.py \
|
||||||
|
--bytecode-2.2 --bytecode-2.3 --bytecode-2.4 \
|
||||||
--bytecode-2.5 --bytecode-2.6 --bytecode-2.7 --bytecode-pypy2.7
|
--bytecode-2.5 --bytecode-2.6 --bytecode-2.7 --bytecode-pypy2.7
|
||||||
|
|
||||||
#: Check deparsing bytecode 3.x only
|
#: Check deparsing bytecode 3.x only
|
||||||
@@ -61,6 +62,10 @@ check-bytecode: check-bytecode-3
|
|||||||
$(PYTHON) test_pythonlib.py --bytecode-2.3 --bytecode-2.4 \
|
$(PYTHON) test_pythonlib.py --bytecode-2.3 --bytecode-2.4 \
|
||||||
--bytecode-2.5 --bytecode-2.6 --bytecode-2.7 --bytecode-pypy2.7
|
--bytecode-2.5 --bytecode-2.6 --bytecode-2.7 --bytecode-pypy2.7
|
||||||
|
|
||||||
|
#: Check deparsing Python 2.2
|
||||||
|
check-bytecode-2.3:
|
||||||
|
$(PYTHON) test_pythonlib.py --bytecode-2.2
|
||||||
|
|
||||||
#: Check deparsing Python 2.3
|
#: Check deparsing Python 2.3
|
||||||
check-bytecode-2.3:
|
check-bytecode-2.3:
|
||||||
$(PYTHON) test_pythonlib.py --bytecode-2.3
|
$(PYTHON) test_pythonlib.py --bytecode-2.3
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,3 +3,4 @@
|
|||||||
import sys
|
import sys
|
||||||
from os import path
|
from os import path
|
||||||
from os import *
|
from os import *
|
||||||
|
import time as time1, os as os1
|
||||||
|
@@ -78,7 +78,8 @@ for vers in (2.7, 3.4, 3.5, 3.6):
|
|||||||
test_options[key] = (os.path.join(src_dir, pythonlib), PYOC, key, vers)
|
test_options[key] = (os.path.join(src_dir, pythonlib), PYOC, key, vers)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
for vers in (2.3, 2.4, 2.5, 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, 'pypy3.2', 'pypy2.7'):
|
for vers in (2.2, 2.3, 2.4, 2.5, 2.6, 2.7,
|
||||||
|
3.2, 3.3, 3.4, 3.5, 3.6, 'pypy3.2', 'pypy2.7'):
|
||||||
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)
|
||||||
|
Reference in New Issue
Block a user