Support mach jstests and mach jit-test for android devices
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: bc, Assigned: bc)
References
Details
(Whiteboard: dev-prod-2020 )
Attachments
(1 file)
Although jit_tests.py does support running tests on Android devices, using mach on my Fedora 31 system, I see
$ ./mach jit-test --remote
Traceback (most recent call last):
File "/home/bclary/mozilla/builds/autoland/mozilla/js/src/tests/lib/jittests.py", line 786, in get_remote_results
for i in xrange(0, options.repeat):
NameError: name 'xrange' is not defined
jittests.py is run under python3 which does not support xrange.
jstests.py does not support running testing on Android devices.
It should be possible to use mach to run either jit-test or jstests against Android devices.
Assignee | ||
Comment 1•5 years ago
|
||
./mach jstests --remote
./mach jit-test --remote
Remove xrange usage as python3 incompatible when running
mach jit-test.
Move device initialization code from js/src/tests/lib/jittests.py
to js/src/tests/lib/remote.py. Make device initialization into a
singleton to prevent multiple attempts to initialize a device.
Initialize device in XULInfoTester and support evaluation of test
predicate conditions using the js shell on the device.
Standardize directory names on android device for both jit-test and jstest.
Add arguments to jstests to support chunking.
Comment 3•5 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Description
•