bazel-eclipse icon indicating copy to clipboard operation
bazel-eclipse copied to clipboard

BEF: Bazel TEST_XYZ environment variables are not populated by Eclipse JUnit test launcher

Open plaird opened this issue 3 years ago • 0 comments

When running tests from the command line, we can rely on a suite of TEST_ environment variables to be set.

https://bazel.build/reference/test-encyclopedia#initial-conditions

These are not set when the tests are run with the Eclipse launcher. We should find a way to set all of them, but especially TEST_SRCDIR and TEST_TMPDIR since those are required.

For reference, equivalent issue from the IJ plugin: https://github.com/bazelbuild/intellij/issues/193

plaird avatar Feb 28 '22 17:02 plaird