4

I am interested in allowing an integration test (which is being run by bazel test) to write a file to a file location outside of the bazel cache (somewhere in a user's file system). This is not an issue with bazel run, but we are unable to write during bazel test (which seems to be an intentional feature of bazel as noted here).

In case the context helps, I want to record a replay file of the integration test, and actually commit it to source control.

Does anybody know of a solution to this within Bazel,or at least an override/workaround?

Vertexwahn
  • 7,709
  • 6
  • 64
  • 90

0 Answers0