Skip to content

Commit

Permalink
Merge pull request #3025 from gyorb/fix-test-exit
Browse files Browse the repository at this point in the history
fix exit code check in the tests
  • Loading branch information
bruntib authored Nov 12, 2020
2 parents 39f3190 + bf38d7b commit 131861b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/tests/libtest/codechecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def show(out, err):
encoding="utf-8",
errors="ignore")
out, err = proc.communicate()
if proc.returncode != 0:
if proc.returncode == 1:
show(out, err)
print('Unsuccessful run: "' + ' '.join(cmd) + '"')
raise Exception("Unsuccessful run of command.")
Expand Down

0 comments on commit 131861b

Please sign in to comment.