Closed Bug 1560073 Opened 1 year ago Closed 1 year ago

Change default --appname for android tests

Categories

(Testing :: General, defect)

57 Branch
defect
Not set

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

By default, most mach test commands run against fennec; running against geckoview test apps require specification of the --app (or --package) argument. This seems like a good time to change the default to org.mozilla.geckoview.test.

Summary: Change default --app for android tests → Change default --appname for android tests

Use the geckoview TestRunnerActivity, org.mozilla.geckoview.test, by default
for all types of mochitests, reftests, and web-platform tests. TRA is already
the default for gtest and geckoview-junit. Fennec, based on ANDROID_PACKAGE_NAME,
remains the default for robocop and marionette-test and I have no plans to
change those. There is a related issue for xpcshell-test -- not the package
name, but the default apk -- but I am reluctant to handle that until bug 1553225
is resolved.

Of course you can still run 'mach mochitest --appname org.mozilla.fennec_$USER' or 'mach wpt --package org.mozilla.fennec_$USER' to run against fennec.

This change does not affect continuous integration at all -- only local runs with mach.

Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/95654f223f59
Change default android package name for most mach test commands; r=snorp,nalexander,maja_zf
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.