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

[tools] Fix buildifier_test to not scribble in runfiles #21451

Merged

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented May 17, 2024

Unit tests should never write to cwd, rather always to TEST_TMPDIR.

Towards #20731.


This change is Reviewable

Unit tests should never write to cwd, rather always to TEST_TMPDIR.
@jwnimmer-tri jwnimmer-tri added priority: low status: single reviewer ok https://drake.mit.edu/reviewable.html release notes: none This pull request should not be mentioned in the release notes labels May 17, 2024
@jwnimmer-tri
Copy link
Collaborator Author

+@rpoyner-tri for both reviews, please.

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignee rpoyner-tri(platform)

@jwnimmer-tri jwnimmer-tri merged commit 2959d85 into RobotLocomotion:master May 17, 2024
9 of 10 checks passed
@jwnimmer-tri jwnimmer-tri deleted the bzlmod-buildifier-test branch May 17, 2024 23:34
RussTedrake pushed a commit to RussTedrake/drake that referenced this pull request Dec 15, 2024
…ion#21451)

Unit tests should never write to cwd, rather always to TEST_TMPDIR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low release notes: none This pull request should not be mentioned in the release notes status: single reviewer ok https://drake.mit.edu/reviewable.html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants