Add hostutils for Windows host.
Categories
(Infrastructure & Operations :: RelOps: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: m_kato, Assigned: aerickson)
References
Details
(Whiteboard: dev-prod-2020)
Attachments
(1 file)
To run gv-junit test etc on Windows host for developers, I need hostutils for windows host. (I don't know how to upload it to tooltool...)
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Unclear what to do with this bug or how important it is. I think Windows may not be the best development platform for Fennec. Most folks probably use Linux or macOS.
Comment 2•5 years ago
|
||
(In reply to Stefan Arentz [:st3fan] from comment #1)
Unclear what to do with this bug or how important it is. I think Windows may not be the best development platform for Fennec. Most folks probably use Linux or macOS.
It makes things difficult for developers who normally build on Windows but want to fix bugs in GV. If we at Mozilla truly are all mobile developers now, then we need to be willing to make development environments accessible to everybody.
Comment 3•5 years ago
|
||
m_kato - If you can provide instructions like https://wiki.mozilla.org/Packaging_Android_host_utilities for Windows, I bet aerickson will help you get that into tooltool.
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 4•4 years ago
|
||
Update wiki document (https://wiki.mozilla.org/Packaging_Android_host_utilities) for Windows
Assignee | ||
Comment 5•4 years ago
|
||
Here's the ToolTool manifest for the windows hostutils build that I just created.
[
{
"algorithm": "sha512",
"visibility": "public",
"filename": "host-utils-79.0a1.en-US.win32.tar.gz",
"unpack": true,
"digest": "05f9d48ac73aa3e5c5433f39821df0eba85c0c6a39ec3a334d4d0e64b10e352c0d46602ef0eb93dcda744dab8715a308dd8d8d7ca51a360c64a9f7c3bb2f4eb4",
"size": 61113183
}
]
:m_kato, please let me know if it works. :)
Updated•4 years ago
|
Reporter | ||
Comment 6•4 years ago
|
||
(In reply to Andrew Erickson [:aerickson] from comment #5)
:m_kato, please let me know if it works. :)
Yes, it works. Thank you.
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
in order to make this work I had to hack up https://searchfox.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/devices/android_device.py
and fix places where we do:
os.path.isfile(os.path.join(path, 'xpcshell'))
to be more like:
xpcshell_binary = 'xpcshell'
if os.name == 'nt':
xpcshell_binary = 'xpcshell.exe'
os.path.isfile(os.path.join(path, xpcshell_binary))
I had to do that in 3 places, then ./mach test <path>
would allow me to continue forward.
Comment 8•4 years ago
|
||
:aerickson, this is marked as resolved, is there a commit reference to a repo somewhere or link to something that has changed in order to resolve this?
Comment 9•4 years ago
|
||
and one more spot to modify in :
https://searchfox.org/mozilla-central/source/testing/mochitest/mach_commands.py#271
Assignee | ||
Comment 10•4 years ago
|
||
I thought :m_kato was going to handle that.
Assignee | ||
Comment 11•4 years ago
|
||
:jmaher, do you have that branch ready or would you like me to recreate your changes? What's an example test path to use? Are you testing on a Windows PC?
Comment 12•4 years ago
|
||
I don't have the code anymore, I did put it all in this bug
Assignee | ||
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
bugherder |
Description
•