RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.19k stars 1.24k forks source link

[examples] Fix some smoke test path snafus #21452

Closed jwnimmer-tri closed 1 month ago

jwnimmer-tri commented 1 month ago

Hard-coding paths to runfiles is incompatible with bzlmod. We should always use python.runfiles, or (in the case of acrobot) just use our simple add_test_rule pattern.

Towards #20731.


This change is Reviewable

jwnimmer-tri commented 1 month ago

+@ggould-tri for both reviews, please. No hurry.