Mercurial > hg-stable
changeset 40529:176c26a21123
tests: add a critical flush() to run-tests.py to make output stable on py3
Differential Revision: https://phab.mercurial-scm.org/D5204
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 01 Nov 2018 15:47:26 -0400 |
parents | 86dfae98a3a2 |
children | 99d5424eedc8 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Sat Oct 13 07:49:20 2018 -0700 +++ b/tests/run-tests.py Thu Nov 01 15:47:26 2018 -0400 @@ -482,6 +482,7 @@ parser.error('--with-hg must specify an executable hg script') if os.path.basename(options.with_hg) not in [b'hg', b'hg.exe']: sys.stderr.write('warning: --with-hg should specify an hg script\n') + sys.stderr.flush() if options.local: testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0]))) reporootdir = os.path.dirname(testdir)