Skip to content

Commit a645ef6

Browse files
committed
Add newline between failed test outputs
1 parent 639e1a8 commit a645ef6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/test.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ def HasRun(self, output):
482482
print("--- %s ---" % PrintCrashed(output.output.exit_code))
483483
if output.HasTimedOut():
484484
print("--- TIMEOUT ---")
485+
print("\n") # Two blank lines between failures, for visual separation
485486

486487
def Truncate(self, str, length):
487488
if length and (len(str) > (length - 3)):
@@ -1779,9 +1780,9 @@ def should_keep(case):
17791780
sys.stderr.write("%4i (%s) %s\n" % (i, t, entry.GetLabel()))
17801781

17811782
if result['allPassed']:
1782-
print('All tests passed.')
1783+
print("\nAll tests passed.")
17831784
else:
1784-
print('Failed tests:')
1785+
print("\nFailed tests:")
17851786
for failedTest in result['failed']:
17861787
print(EscapeCommand(failedTest.command))
17871788

0 commit comments

Comments
 (0)