sanitizer-testrunner: enforce line buffering
Under coin-agent, the stdout/err are not a tty, so flushing needs to be forced. Change-Id: I06de43328a4f4d1c17df7188f31b5f7bc63e3335 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
1ab354b245
commit
b152c3b50d
@ -32,7 +32,7 @@ issues_detected = False
|
||||
for line in f:
|
||||
if proc:
|
||||
# We don't want the stderr of the subprocess to disappear, so print it.
|
||||
print(line, file=sys.stderr, end="")
|
||||
print(line, file=sys.stderr, end="", flush=True)
|
||||
if detect_ASAN.match(line):
|
||||
issues_detected = True
|
||||
f.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user