Skip to content

Make CL_CONFORMANCE_RESULTS_FILENAME Bazel-aware#2629

Open
olestrohm-arm wants to merge 1 commit intoKhronosGroup:mainfrom
olestrohm-arm:sandbox/olestr01/push-xllsmuqtwwlt
Open

Make CL_CONFORMANCE_RESULTS_FILENAME Bazel-aware#2629
olestrohm-arm wants to merge 1 commit intoKhronosGroup:mainfrom
olestrohm-arm:sandbox/olestr01/push-xllsmuqtwwlt

Conversation

@olestrohm-arm
Copy link
Contributor

Bazel requires that test outputs are put in a specific directory given by $TEST_UNDECLARED_OUTPUTS_DIR when running a test through Bazel test

This patch checks for the environment variable $BAZEL_TEST, which Bazel sets when running tests, and prepends the specified directory to the user-provided path.

The behaviour when running outside of a bazel test environment is unchanged

Bazel requires that test outputs are put in a specific directory given
by $TEST_UNDECLARED_OUTPUTS_DIR when running a test through Bazel test

This patch checks for the environment variable $BAZEL_TEST, which Bazel
sets when running tests, and prepends the specified directory to the
user-provided path.

The behaviour when running outside of a bazel test environment is
unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants