diff options
Diffstat (limited to 'src/test/shell/integration/build_event_stream_test.sh')
-rwxr-xr-x | src/test/shell/integration/build_event_stream_test.sh | 6 |
1 files changed, 6 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 a647390b55..069b4845f9 100755 --- a/src/test/shell/integration/build_event_stream_test.sh +++ b/src/test/shell/integration/build_event_stream_test.sh @@ -766,5 +766,11 @@ function test_tool_command_line() { expect_log_once 'chunk: "foo bar"' } +function test_noanalyze() { + bazel build --noanalyze --build_event_text_file="${TEST_log}" pkg:true \ + || fail "build failed" + expect_log_once '^aborted' + expect_log 'reason: NO_ANALYZE' +} run_suite "Integration tests for the build event stream" |