diff options
author | 2017-08-29 19:07:31 +0200 | |
---|---|---|
committer | 2017-08-30 13:46:33 +0200 | |
commit | 87848e33994a628b2a8b3d64f6f8df2cd5819d95 (patch) | |
tree | 8b9eb140304e28f7cb9df5d5a45803089b3cb9bc /src/test | |
parent | 687d6c449a336cd5f9667cf0b15b0f7a26d6c103 (diff) |
BEP: add tool_tag explicitly
Add the tool tag explicitly in the OptionsParsed event. In this
way, consumers of the stream can more easily associate an invocation
with a tool.
Change-Id: I6040e91f657082782bf8010a6576001118672e2d
PiperOrigin-RevId: 166862895
Diffstat (limited to 'src/test')
-rwxr-xr-x | src/test/shell/integration/build_event_stream_test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/shell/integration/build_event_stream_test.sh b/src/test/shell/integration/build_event_stream_test.sh index 7672dfe7ac..28ac02dc4a 100755 --- a/src/test/shell/integration/build_event_stream_test.sh +++ b/src/test/shell/integration/build_event_stream_test.sh @@ -177,13 +177,15 @@ function test_basic() { # - the target_kind is reported # - for single-configuration builds, there is precisely one configuration # event reported; also make variables are shown - bazel test --build_event_text_file=$TEST_log pkg:true \ + bazel test --build_event_text_file=$TEST_log --tool_tag=MyFancyTool pkg:true \ || fail "bazel test failed" expect_log 'pkg:true' # Command line expect_log 'args: "test"' expect_log 'args: "--build_event_text_file=' expect_log 'args: "pkg:true"' + # Options parsed + expect_log 'tool_tag: "MyFancyTool"' # Build Finished expect_log 'build_finished' expect_log 'SUCCESS' |