You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
More testing
- travis: * 2.7.12 - bump from 2.7.11 * 3.3.6 test_pyenvlib: add --weak-verify to Makefile: check-3.2.6 needs --weak-verify
This commit is contained in:
@@ -4,8 +4,9 @@ sudo: false
|
|||||||
|
|
||||||
python:
|
python:
|
||||||
- '3.5'
|
- '3.5'
|
||||||
- '2.7.11'
|
- '2.7.12'
|
||||||
- '2.6'
|
- '2.6'
|
||||||
|
- '3.3'
|
||||||
- '3.4'
|
- '3.4'
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
@@ -28,7 +28,7 @@ check-3.2: check-bytecode
|
|||||||
|
|
||||||
#: Run working tests from Python 3.2
|
#: Run working tests from Python 3.2
|
||||||
check-3.2: check-bytecode
|
check-3.2: check-bytecode
|
||||||
$(PYTHON) test_pythonlib.py --bytecode-3.2 --verify $(COMPILE)
|
$(PYTHON) test_pythonlib.py --bytecode-3.2 --weak-verify $(COMPILE)
|
||||||
|
|
||||||
#: Run working tests from Python 3.3
|
#: Run working tests from Python 3.3
|
||||||
check-3.3: check-bytecode
|
check-3.3: check-bytecode
|
||||||
|
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
# Bug from Python 3.3 _markupbase.py cross compilatin
|
# Bug from Python 3.3 _markupbase.py cross compilatin
|
||||||
# error in unmarshaling a frozenset
|
# error in unmarshaling a frozenset
|
||||||
import sys
|
import sys
|
||||||
if sys.argv[0] in {"attlist", "linktype", "link", "element"}:
|
if sys.argv[0] in frozenset({"attlist", "linktype", "link", "element"}):
|
||||||
print("Yep")
|
print("Yep")
|
||||||
|
@@ -187,7 +187,7 @@ if __name__ == '__main__':
|
|||||||
test_options_keys = list(test_options.keys())
|
test_options_keys = list(test_options.keys())
|
||||||
test_options_keys.sort()
|
test_options_keys.sort()
|
||||||
opts, args = getopt.getopt(sys.argv[1:], '',
|
opts, args = getopt.getopt(sys.argv[1:], '',
|
||||||
['start-with=', 'verify', 'all', 'compile',
|
['start-with=', 'verify', 'weak-verify', 'all', 'compile',
|
||||||
'no-rm'] \
|
'no-rm'] \
|
||||||
+ test_options_keys )
|
+ test_options_keys )
|
||||||
if not opts: help()
|
if not opts: help()
|
||||||
@@ -202,6 +202,8 @@ if __name__ == '__main__':
|
|||||||
for opt, val in opts:
|
for opt, val in opts:
|
||||||
if opt == '--verify':
|
if opt == '--verify':
|
||||||
test_opts['do_verify'] = True
|
test_opts['do_verify'] = True
|
||||||
|
elif opt == '--weak-verify':
|
||||||
|
test_opts['do_verify'] = 'weak'
|
||||||
elif opt == '--compile':
|
elif opt == '--compile':
|
||||||
test_opts['do_compile'] = True
|
test_opts['do_compile'] = True
|
||||||
elif opt == '--start-with':
|
elif opt == '--start-with':
|
||||||
|
Reference in New Issue
Block a user