-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
fix(tests): remove check for echo
#118899
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
...wait, what part of this test requires |
Ah yeah, I'm not sure but assumed it would be required by some other dependency since this check has persisted through so many changes. |
@@ -6,8 +6,11 @@ include ../../run-make/tools.mk | |||
# backends and that this external codegen backend is only included in the dep info if | |||
# -Zbinary-dep-depinfo is used. | |||
|
|||
REQUIRED := echo # This test requires `echo` to exist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you help me understand what echo is used for in the test? It seems like the previous implementation presumably wanted specifically /bin/echo, not some other path... But I'm not seeing where that usage happens.
Asking the user to install echo seems basically useless, I don't think anyone who doesn't have it is likely to be willing/able to install it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see the discussion thread now. I would recommend we drop this check and try and merge. Maybe that finds something, otherwise we can, well, just not have the check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I've removed the check.
r=me with commits squashed (and PR title + description updated) |
echo
exists in pathecho
Remove check for `echo`
0bd3500
to
67aec94
Compare
@bors r+ rollup=iffy |
…-Simulacrum fix(tests): remove check for `echo` fixes: rust-lang#56222 Removes check for `echo` as it doesn't seem to be used anywhere.
💔 Test failed - checks-actions |
@bors retry Apple runner billing issue. |
☀️ Test successful - checks-actions |
Finished benchmarking commit (8d39ec1): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 669.091s -> 669.803s (0.11%) |
fixes: #56222
Removes check for
echo
as it doesn't seem to be used anywhere.