Closed Bug 1566984 Opened 5 years ago Closed 5 years ago

Support --no-install for Android mochitests

Categories

(Testing :: Mochitest, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: robwu, Assigned: robwu)

References

Details

Attachments

(1 file)

When I run a mochitest for Android, e.g.

./mach mochitest -f plain --app org.mozilla.geckoview.test path/to/mochitest.html

... then the output always starts with the following, which takes a few seconds and includes an interactive prompt:

 0:00.95 adb INFO Using adb 1.0.40
 0:01.19 adb INFO adbd running as root
 0:01.29 adb INFO setenforce 0 exitcode 0, stdout: None
 0:01.52 adb INFO su 0 supported
 0:01.74 adb INFO /system/bin/ls -1A supported
 0:01.85 adb INFO Native cp support: True
 0:01.97 adb INFO Native chmod -R support: True
 0:02.08 adb INFO Native chown -R support: True
 0:02.19 adb INFO Setting SELinux Permissive
 0:02.52 adb INFO Native pidof support: True
Re-install geckoview AndroidTest? (Y/n)

This check is not necessary when I have only updated the mochitest that I am running, and it would save some time if the --no-install option were to be supported.

Add the --no-install option to reduce the time it takes to run
mochitests again on Android when the app does not need to be
re-installed.

See Also: → 1566930
Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/89fde8fea05c
Support --no-install for Android mochitests r=gbrown,snorp
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
See Also: → 1575667
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: