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:
rocky
2016-09-08 05:09:36 -04:00
parent 2d11ffb669
commit 57d1f3b9f9
5 changed files with 7 additions and 4 deletions

View File

@@ -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:

View File

@@ -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.

View File

@@ -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")

View File

@@ -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':