##// END OF EJS Templates
tests: add a critical flush() to run-tests.py to make output stable on py3...
Augie Fackler -
r40513:176c26a2 default
parent child Browse files
Show More
@@ -482,6 +482,7 b' def parseargs(args, parser):'
482 parser.error('--with-hg must specify an executable hg script')
482 parser.error('--with-hg must specify an executable hg script')
483 if os.path.basename(options.with_hg) not in [b'hg', b'hg.exe']:
483 if os.path.basename(options.with_hg) not in [b'hg', b'hg.exe']:
484 sys.stderr.write('warning: --with-hg should specify an hg script\n')
484 sys.stderr.write('warning: --with-hg should specify an hg script\n')
485 sys.stderr.flush()
485 if options.local:
486 if options.local:
486 testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0])))
487 testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0])))
487 reporootdir = os.path.dirname(testdir)
488 reporootdir = os.path.dirname(testdir)
General Comments 0
You need to be logged in to leave comments. Login now