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

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
7 years ago
3 years ago

People

(Reporter: zwol, Assigned: smwangi)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.