Fix CI script
This commit is contained in:
parent
a9a9a753bc
commit
c064ec70ed
1 changed files with 2 additions and 2 deletions
|
@ -246,10 +246,10 @@ def run_unit_tests(tint2path, use_asan):
|
||||||
return
|
return
|
||||||
if "tests succeeded" in out:
|
if "tests succeeded" in out:
|
||||||
num_tests = [line for line in out.split("\n") if "tint2: Running" in line][0]
|
num_tests = [line for line in out.split("\n") if "tint2: Running" in line][0]
|
||||||
print "All {0} tests succeeded.".format(num_tests)
|
print("All {0} tests succeeded.".format(num_tests))
|
||||||
return
|
return
|
||||||
if "tests failed" in out:
|
if "tests failed" in out:
|
||||||
print out
|
print("```\n" + out.strip() + "\n```")
|
||||||
stop_xvfb()
|
stop_xvfb()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue