Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set runfiles vars to absolute paths when debugging Go tests #6883

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented Oct 11, 2024

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: #6748 (comment)

Description of this change

Ensure that runfiles vars are not incorrectly interpreted relative to the modified working directory (used as of #6748) by making their paths absolute. This matches the logic in Bazel's test setup script.

@github-actions github-actions bot added product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Oct 11, 2024
Otherwise they will be incorrectly interpreted relative to the modified working directory.
@tpasternak tpasternak merged commit 017e063 into bazelbuild:master Oct 11, 2024
6 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Oct 11, 2024
@fmeum fmeum deleted the go-regression branch October 11, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: GoLand GoLand plugin
Projects
Development

Successfully merging this pull request may close these issues.

2 participants