mirror of https://github.com/zulip/zulip.git
run-casper: Flush stdout before calling subprocess.
These markers were not getting correctly interleaved with the test output in the CircleCI logs. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
00de35b28a
commit
31aecc0abb
|
@ -112,7 +112,7 @@ def run_tests(files: Iterable[str], external_host: str) -> None:
|
|||
for test_file in test_files:
|
||||
test_name = os.path.basename(test_file)
|
||||
cmd = ["node_modules/.bin/casperjs"] + remote_debug + verbose + xunit_export + ["test", test_file]
|
||||
print("\n\n===================== %s\nRunning %s\n\n" % (test_name, " ".join(map(shlex.quote, cmd))))
|
||||
print("\n\n===================== %s\nRunning %s\n\n" % (test_name, " ".join(map(shlex.quote, cmd))), flush=True)
|
||||
ret = subprocess.call(cmd)
|
||||
if ret != 0:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue