Convert 'mach mochitest' to run with Python 3
Categories
(Testing :: Mochitest, task)
Tracking
(firefox83 fixed)
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: KrisWright, Assigned: gbrown)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
mach mochitest
still runs with python 2 [1]. We want to convert all mach
commands to python 3.
To do this, any dependencies of the command may need to be converted as well as the command itself.
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Initial changes to allow mochitests to run in python 3. This works well on Linux,
and almost works on Android. A follow-up will complete the work on Android and
switch mach mochitest over to python 3.
Assignee | ||
Comment 5•4 years ago
|
||
Minor fix to remoteautomation.py: Increment stdoutlen before any type conversions,
to ensure that it accurately reflects the byte offset in the file.
With this last change, 'mach mochitest' appears to run correctly on Android with Python 3:
switch it over to Python 3.
Pushed by whole.grains@protonmail.com: https://hg.mozilla.org/integration/autoland/rev/c6ad9a8b1152 Convert mochitest runtests.py to run with Python 3; r=bc https://hg.mozilla.org/integration/autoland/rev/7cb6ce3ea604 Run 'mach mochitest' with Python 3; r=bc
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c6ad9a8b1152
https://hg.mozilla.org/mozilla-central/rev/7cb6ce3ea604
Description
•