Mercurial > public > mercurial-scm > hg
comparison contrib/python3-ratchet.py @ 36589:3790610c2793
py3: bail on ratcheting tests forward on 3.6.0 and 3.6.1
author | Kevin Bullock <kbullock+mercurial@ringworld.org> |
---|---|
date | Fri, 02 Mar 2018 15:37:57 -0500 |
parents | 28f429d19a71 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
36588:281f66777ff0 | 36589:3790610c2793 |
---|---|
78 'or sys.version_info >= (3, 6, 2))']) | 78 'or sys.version_info >= (3, 6, 2))']) |
79 except subprocess.CalledProcessError: | 79 except subprocess.CalledProcessError: |
80 print('warning: Python 3.6.0 and 3.6.1 have ' | 80 print('warning: Python 3.6.0 and 3.6.1 have ' |
81 'a bug which breaks Mercurial') | 81 'a bug which breaks Mercurial') |
82 print('(see https://bugs.python.org/issue29714 for details)') | 82 print('(see https://bugs.python.org/issue29714 for details)') |
83 # TODO(augie): uncomment exit when Python 3.6.2 is available | 83 sys.exit(1) |
84 # sys.exit(1) | |
85 | 84 |
86 rt = subprocess.Popen([opts.python3, 'run-tests.py', '-j', str(opts.j), | 85 rt = subprocess.Popen([opts.python3, 'run-tests.py', '-j', str(opts.j), |
87 '--blacklist', opts.working_tests, '--json']) | 86 '--blacklist', opts.working_tests, '--json']) |
88 rt.wait() | 87 rt.wait() |
89 with open('report.json') as f: | 88 with open('report.json') as f: |