functional_tests: flush stdout before popening new process

This commit is contained in:
moneromooo-monero 2019-04-23 18:21:06 +00:00
parent 475481949a
commit 36ced06727
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -98,6 +98,7 @@ FAIL = []
for test in tests: for test in tests:
try: try:
print('[TEST STARTED] ' + test) print('[TEST STARTED] ' + test)
sys.stdout.flush()
cmd = [python, srcdir + '/' + test + ".py"] cmd = [python, srcdir + '/' + test + ".py"]
subprocess.check_call(cmd) subprocess.check_call(cmd)
PASS.append(test) PASS.append(test)