Skip to content

tests: use {package} instead of hard-coded path in precompile_tests#2193

Merged
rickeylev merged 1 commit intobazel-contrib:mainfrom
rickeylev:fixup.test.path.strs
Sep 6, 2024
Merged

tests: use {package} instead of hard-coded path in precompile_tests#2193
rickeylev merged 1 commit intobazel-contrib:mainfrom
rickeylev:fixup.test.path.strs

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

When imported into Google, the workspace-relative path changes, which makes the tests fail. Using the {package} format kwarg makes the tests independent of their location in the workspace.

When imported into Google, the workspace-relative path changes, which
makes the tests fail. Using the `{package}` format kwarg makes the
tests independent of their location in the workspace.
@rickeylev rickeylev requested a review from oprypin September 6, 2024 03:15
@rickeylev rickeylev requested a review from aignas as a code owner September 6, 2024 03:15
@rickeylev rickeylev added this pull request to the merge queue Sep 6, 2024
Merged via the queue into bazel-contrib:main with commit 30bd94d Sep 6, 2024
@rickeylev rickeylev deleted the fixup.test.path.strs branch September 6, 2024 20:01
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