Open Bug 1782793 Opened 4 years ago Updated 1 year ago

Provide a friendly error message that `./mach test --headless` doesn't work on Android

Categories

(Firefox Build System :: Android Studio and Gradle Integration, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: tjr, Unassigned)

References

(Blocks 1 open bug)

Details

--headless is not supported. But it doesn't tell you that; you need to adb logcat and find in the large amount of output the message "GeckoRuntime: Error: headless mode is not currently supported on this platform."

It would be nice to be more upfront about this.

(In reply to Tom Ritter [:tjr] from comment #0)

--headless is not supported. But it doesn't tell you that; you need to adb logcat and find in the large amount of output the message "GeckoRuntime: Error: headless mode is not currently supported on this platform."

It would be nice to be more upfront about this.

Sounds like you'd like the test harness to error out earlier? That seems fair. It's a little tricky 'cuz all of the harnesses handle arguments differently, but we could anticipate Android and --headless around here.

Severity: -- → S4
Priority: -- → P3
Blocks: 1558102
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.