Mercurial > hg
view tests/test-check-py3-commands.t @ 30423:237b2883cbd8
worker: make sure killworkers() never be interrupted by another SIGCHLD
killworkers() iterates over pids, which can be updated by SIGCHLD handler.
So we should either copy pids or prevent killworkers() from being interrupted
by SIGCHLD. I chose the latter as it is simpler and can make pids handling
more consistent.
This fixes a possible "set changed size during iteration" error at
killworkers() before cleanup().
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 17 Nov 2016 20:44:05 +0900 |
parents | 954002426f78 |
children | bcb858396233 |
line wrap: on
line source
#require py3exe This test helps in keeping a track on which commands we can run on Python 3 and see what kind of errors are coming up. The full traceback is hidden to have a stable output. $ for cmd in version debuginstall ; do > echo $cmd > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1 > done version NameError: name 'basestring' is not defined debuginstall NameError: name 'basestring' is not defined