This is an archive of the discontinued LLVM Phabricator instance.

[llvm-rc] Avoid which(1) dependency in windres-prefix.test
ClosedPublic

Authored by mgorny on May 25 2022, 4:07 AM.

Details

Summary

Rely on lit substitution to provide the path to llvm-windres instead
of redundantly calling which(1) with the subtituted absolute path.
This fixes test failure on the happy systems without which(1) installed.

Diff Detail

Event Timeline

mgorny created this revision.May 25 2022, 4:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 4:07 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
mgorny requested review of this revision.May 25 2022, 4:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 4:07 AM
mstorsjo accepted this revision.May 25 2022, 4:09 AM

If this works, then LGTM!

This revision is now accepted and ready to land.May 25 2022, 4:09 AM
This revision was landed with ongoing or failed builds.May 25 2022, 7:15 AM
This revision was automatically updated to reflect the committed changes.