diff options
author | Matt Kwong <mattkwong@google.com> | 2018-06-20 09:09:21 -0700 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2018-06-20 09:09:21 -0700 |
commit | a4fd2d183a24e931d6eca75d7f6046550b5c1bb9 (patch) | |
tree | 53e3c7d6b13574f8a7e8570258b7730609cc0b9d /tools/run_tests/python_utils | |
parent | 7fc8bf5833334a8bbe41d940c9e6038012eb694c (diff) |
Fix test failure detection when doing RBE uploads
Diffstat (limited to 'tools/run_tests/python_utils')
-rw-r--r-- | tools/run_tests/python_utils/upload_rbe_results.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/python_utils/upload_rbe_results.py b/tools/run_tests/python_utils/upload_rbe_results.py index 7236227f7c..cbeb1ad941 100644 --- a/tools/run_tests/python_utils/upload_rbe_results.py +++ b/tools/run_tests/python_utils/upload_rbe_results.py @@ -161,7 +161,7 @@ if __name__ == "__main__": test_cases = action['testAction']['testSuite']['tests'][0][ 'testSuite']['tests'] for test_case in test_cases: - if 'errors' in test_case['testCase']: + if any(s in test_case['testCase'] for s in ['errors', 'failures']): result = 'FAILED' elif 'timedOut' in test_case['testCase']: result = 'TIMEOUT' |