From 87848e33994a628b2a8b3d64f6f8df2cd5819d95 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 29 Aug 2017 19:07:31 +0200 Subject: 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 --- src/test/shell/integration/build_event_stream_test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/test') 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' -- cgit v1.2.3