diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-08 08:59:20 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-08 08:59:20 -0800 |
commit | 4f2be36df26c49e153c497ed1376a4ace3e753bd (patch) | |
tree | 62ba563ea5ff1c6eef98598dfec601807612f859 /tools/run_tests | |
parent | eb9de8b05f4bbef22cde862dc991b9f9b0c23a98 (diff) |
Flag errors better
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index a2f3424731..669d2e91f4 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -1085,7 +1085,9 @@ else: exit_code = 0 if BuildAndRunError.BUILD in errors: exit_code |= 1 - if BuildAndRunError.POST_TEST in errors: + if BuildAndRunError.TEST in errors and not args.travis: exit_code |= 2 - # BuildAndRunError.TEST does not cause run_tests.py to fail + if BuildAndRunError.POST_TEST in errors: + exit_code |= 4 sys.exit(exit_code) + |