Skip to content

Make CL_CONFORMANCE_RESULTS_FILENAME Bazel-aware#2629

Merged
bashbaug merged 1 commit intoKhronosGroup:mainfrom
olestrohm-arm:sandbox/olestr01/push-xllsmuqtwwlt
Mar 17, 2026
Merged

Make CL_CONFORMANCE_RESULTS_FILENAME Bazel-aware#2629
bashbaug merged 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
@bashbaug
Copy link
Contributor

Merging as discussed in the March 17th teleconference.

@bashbaug bashbaug merged commit 4a923c0 into KhronosGroup:main Mar 17, 2026
8 checks passed
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.

4 participants