Closed Bug 1390699 Opened 7 years ago Closed 7 years ago

python/mozlint/test/test_cli.py fails on windows buildbots

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 57.0

People

(Reporter: tomprince, Assigned: tomprince)

References

Details

Attachments

(2 files)

python/mozlint/test/test_cli.py::test_cli_run_with_edit fails on windows buildbots in thunderbird because "echo" isn't installed there.
Assignee: nobody → mozilla
Comment on attachment 8897646 [details]
Bug 1390699 - Use same logic as `subprocess.Popen` to find echo.

https://reviewboard.mozilla.org/r/168908/#review174518
Attachment #8897646 - Flags: review?(ahalberstadt) → review+
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/761d106f33d5
Don't try to test mozlint's --edit if `echo` isn't available; r=ahal
https://hg.mozilla.org/mozilla-central/rev/761d106f33d5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 57.0
It turns out that `py.path.local.sysfind` uses logic that is different that what `CreateProcess` does for find executables.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Aryx, can you please get this landed on M-C. (Where is :Tomcat?)
Flags: needinfo?(aryx.bugmail)
Sorry, I got confused. The patch already landed and the second one doesn't have review yet.
Flags: needinfo?(aryx.bugmail)
Looks like Tom is not available at the moment, but we need to move this forward.
Attachment #8900597 - Flags: review?(ahalberstadt)
Attachment #8900597 - Flags: review?(ahalberstadt) → review+
Andrew, would you be able to push that for me or should I ask a sheriff? They usually don't see the "checkin needed" since it's in product Thunderbird.

Thanks for the quick review. I'm just the guy picking up the pieces here.
Flags: needinfo?(ahalberstadt)
Sure thing!
Flags: needinfo?(ahalberstadt)
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/07e49c7dfd58
Follow-up: Use find_executable() to locate echo. r=ahal
https://hg.mozilla.org/mozilla-central/rev/07e49c7dfd58
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: