Closed Bug 702376 Opened 13 years ago Closed 8 years ago

runtest.py should detect an invalid --test-path argument early

Categories

(Testing :: Mochitest, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: zwol, Assigned: smwangi)

Details

If you typo a --test-path argument, runtest.py cheerfully hands that along to the test harness, which fails to find the directory and produces a test-runner screen with an empty list of tests.  This is slow (because you have to wait for everything to start up) and confusing.

runtest.py should notice the typo and bail out before executing anything.
Assignee: nobody → stanleym2711
This appears to have been fixed at some point along the way. Running |mach mochitest invalid/path| errors out real quick.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.