Skip to content
Snippets Groups Projects
Commit da8a7720 authored by Simon McVittie's avatar Simon McVittie Committed by Sjoerd Simons
Browse files

run-aa-test: print exit status as soon as we know it


Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D275
Reviewed-by: xclaesse
parent e6c93c2b
No related branches found
No related tags found
No related merge requests found
......@@ -86,10 +86,12 @@ test = Popen(cmdline, preexec_fn=setsid, stdout=PIPE,
print('#=== running test script: %r ===' % cmdline)
for line in test.stdout:
print('# %s' % line.rstrip('\n'))
print('#--- end of test script')
# Wait for tests to exit
ret = test.wait()
print('#--- end of test script, status: %d' % ret)
bad_things = []
if ret != 0:
bad_things.append("%s exited %d" % (' '.join(cmdline), ret))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment