diff options
author | 2017-03-17 15:35:53 +0000 | |
---|---|---|
committer | 2017-03-20 11:36:46 +0000 | |
commit | 196bf3189ce9eab35f0f1ab8fb2d412ffa38ed32 (patch) | |
tree | a94ab21d7d3c4e7f8475b87ad2c8006ad64e97ea /src/test | |
parent | 440ed5e94f4c2263d42eecdd6021a848748b51f9 (diff) |
BEP: Indicate caching status in TestResult
For a test result indicate if it was cached locally by the tool. Note
that this bit will not be set for tests cached by the remote execution.
Also clarify the meaning of the timing; it need not be set for locally
cached test results, but it may (and in this case reporting the timing
of the initial invocation of the cached test).
--
Change-Id: Ic83c4a58c1a85f6f4da82138999eaa545d8f60a6
Reviewed-on: https://cr.bazel.build/9376
PiperOrigin-RevId: 150442579
MOS_MIGRATED_REVID=150442579
Diffstat (limited to 'src/test')
-rwxr-xr-x | src/test/shell/integration/build_event_stream_test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/shell/integration/build_event_stream_test.sh b/src/test/shell/integration/build_event_stream_test.sh index 5a8a0fe880..6ad39c3aef 100755 --- a/src/test/shell/integration/build_event_stream_test.sh +++ b/src/test/shell/integration/build_event_stream_test.sh @@ -217,12 +217,14 @@ function test_cached_test_results() { expect_log 'name:.*test.log' expect_log 'name:.*test.xml' expect_log_once '^progress ' + expect_not_log 'cached_locally' expect_not_log 'aborted' bazel test --experimental_build_event_text_file=$TEST_log pkg:true \ || fail "Second testing of pkg:true failed" expect_log '^test_result' expect_log 'name:.*test.log' expect_log 'name:.*test.xml' + expect_log 'cached_locally' expect_log_once '^progress ' expect_not_log 'aborted' } |