Skip to content

Conversation

@guibou
Copy link

@guibou guibou commented Dec 13, 2021

This commit is super specific to bazel environment.

In Bazel, when you run a test with bazel test, they are run in a
sandbox, so files written by the golden test --accept will only be
modified in the sandbox, but not in your original source tree.

This commit detects that you are using bazel and change the output
directory to the original directory in your source tree.

@UnkindPartition I'm opening the MR for the record, feel free to ignore it

guibou added 2 commits March 28, 2022 18:27
This commit is super specific to bazel environment.

In Bazel, when you run a test with `bazel test`, they are run in a
sandbox, so files written by the golden test `--accept` will only be
modified in the sandbox, but not in your original source tree.

This commit detects that you are using bazel and change the output
directory to the original directory in your source tree.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant