Closed Bug 1365348 Opened 7 years ago Closed 2 years ago

mochitest --jsdebugger does not imply --no-autorun contrary to the --help text

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(firefox-esr91 wontfix, firefox94 wontfix, firefox95 wontfix, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- fixed

People

(Reporter: ng, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:
./mach mochitest --jsdebugger

Expected outcome:
mochitests do not begin to run immediately

Actually outcome:
tests begin immediately executing

Workaround for single test foo:
./mach mochitest --jsdebugger --no-autorun foo

Additional note: for "all mochitests" I would expect the command:
./mach mochitest --jsdebugger --no-autorun
would present a "run tests" link but it does not ... is this intentional?

Additional note 2: It may also be worth noting in the help text, that the toolbox is useful for debugging the chrome and is unable to debug the mochitests themselves.
Component: mach → Mochitest
Product: Core → Testing

Since bug 929535 got fixed the docs are wrong.

Regressed by: 929535

Set release status flags based on info from the regressing bug 929535

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED

(In reply to Nico Grunbaum [:ng, @chew:mozilla.org] from comment #0)

Additional note 2: It may also be worth noting in the help text, that the
toolbox is useful for debugging the chrome and is unable to debug the
mochitests themselves.

This is no longer the case. :-)

Summary: mochitest --jsdebugger does not imply --no-autorun contrary to the --help text, and other related oddness → mochitest --jsdebugger does not imply --no-autorun contrary to the --help text
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/91a1ce93ce4c
fix documentation for --jsdebugger not to state that it implies no-autorun, as it stopped doing that, r=mhentges
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: