Closed Bug 1585416 Opened 5 years ago Closed 5 years ago

geckoview 'mach mochitest <dir>' may try to run unsupported mochitest-chrome tests

Categories

(Testing :: General, defect, P3)

Version 3
defect

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

'mach mochitest <dir>' normally runs (at least) mochitest-plain and mochitest-chrome tests found in <dir>. On Android/geckoview, mochitest-chrome is not supported and should be skipped.

For example,

mach mochitest gfx/layers/apz/test/mochitest

currently hangs on Android.

Priority: -- → P3

mochitest-chrome is not supported with geckoview and attempts to run chrome
tests with geckoview result in a hang. mach test runs can accidentally attempt
to run chrome tests if the flavor is not specified and the directory contains
a chrome.ini manifest.
Existing harness support allows for filtering flavors based on buildapp, like
android, but not by run-time app like geckoview, so this patch disables
mochitest-chrome for all android runs.

Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d0300a6b1d9c
Disable support for Android mochitest-chrome in mochitest harness; r=bc
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: