Skip to content

Fix tests not using an absolute or relative path with Process#11454

Merged
Eric-Arellano merged 1 commit into
pantsbuild:masterfrom
Eric-Arellano:fix-tests-relpath
Jan 13, 2021
Merged

Fix tests not using an absolute or relative path with Process#11454
Eric-Arellano merged 1 commit into
pantsbuild:masterfrom
Eric-Arellano:fix-tests-relpath

Conversation

@Eric-Arellano
Copy link
Copy Markdown
Contributor

From the Remote Execution API:

https://github.com/bazelbuild/remote-apis/blob/9e72daff42c941baaf43a4c370e2607a984c58a7/build/bazel/remote/execution/v2/remote_execution.proto#L472-L475

The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.

These tests were causing #11452 to fail because the unconstrained python looked like a relative path even though it isn't.

[ci skip-build-wheels]
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]
@Eric-Arellano Eric-Arellano merged commit 02434eb into pantsbuild:master Jan 13, 2021
@Eric-Arellano Eric-Arellano deleted the fix-tests-relpath branch January 13, 2021 00:47
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.

2 participants