artkoshelev
artkoshelev

Reputation: 894

Is there an option to tell bazel test not to cache output

I have a long-running test which i want to monitor while it goes, but bazel caches all output and dumps it only in the end. Is there any way to change this?

Upvotes: 2

Views: 3350

Answers (1)

László
László

Reputation: 4281

You can stream the test's output to stdout:

bazel test --test_output=streamed //foo:bar

The drawback is, Bazel runs all tests serially in this case.

Upvotes: 5

Related Questions