diff options
author | Jakob Buchgraber <buchgr@google.com> | 2017-03-22 16:33:40 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2017-03-23 09:48:47 +0000 |
commit | 7a2597de82e66864678861f2c944a53cf7a611d7 (patch) | |
tree | f4004e29420eb2b07a064a2a893d62adb73f2a00 /src/test/shell/integration | |
parent | 3e6bebfe3a6071ecae0276fdeaa051ca1fda003f (diff) |
BEP: Use TestStatus enum to report the status of a TestResult
--
Change-Id: I07c15f7d232a3e9363ebedfb9b5523999630c401
Reviewed-on: https://cr.bazel.build/9450
PiperOrigin-RevId: 150887776
MOS_MIGRATED_REVID=150887776
Diffstat (limited to 'src/test/shell/integration')
-rwxr-xr-x | src/test/shell/integration/build_event_stream_test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/shell/integration/build_event_stream_test.sh b/src/test/shell/integration/build_event_stream_test.sh index 6ad39c3aef..c907c0a590 100755 --- a/src/test/shell/integration/build_event_stream_test.sh +++ b/src/test/shell/integration/build_event_stream_test.sh @@ -123,7 +123,7 @@ function test_test_summary() { expect_log_once '^test_summary ' expect_log_once '^progress ' expect_not_log 'aborted' - expect_log_once 'status.*PASSED' + expect_log 'status.*PASSED' expect_not_log 'status.*FAILED' expect_not_log 'status.*FLAKY' } @@ -137,7 +137,7 @@ function test_test_inidivual_results() { || fail "bazel test failed" expect_log '^test_result' expect_log 'run.*1' - expect_log 'success.*true' + expect_log 'status.*PASSED' expect_log_once '^test_summary ' expect_log_once '^progress ' expect_not_log 'aborted' @@ -155,7 +155,7 @@ function test_test_attempts() { expect_log 'attempt.*2$' expect_log 'attempt.*3$' expect_log_once '^test_summary ' - expect_log_once 'status.*FAILED' + expect_log 'status.*FAILED' expect_not_log 'status.*PASSED' expect_not_log 'status.*FLAKY' expect_log_once '^progress ' |