Skip to content

Commit

Permalink
pathological-tests.py: Fix output if a test unit ends with non-zero e…
Browse files Browse the repository at this point in the history
…xit code.
  • Loading branch information
mity committed Jan 18, 2024
1 parent 0872883 commit 23b1416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pathological-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
end = timer()
if rc != 0:
errored += 1
print('{:35} [ERRORED (return code %d)]'.format(description, rc))
print('{:35} [ERRORED (exit code {})]'.format(description, rc))
print(err)
elif regex.search(actual):
print('{:35} [PASSED] {:.3f} secs'.format(description, end-start))
Expand Down

0 comments on commit 23b1416

Please sign in to comment.