Closed Bug 1665626 Opened 5 years ago Closed 5 years ago

`./mach test somePath/someTest` ignores `skip-if` from mochitests.ini

Categories

(Testing :: Mochitest, defect)

Default
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mbrodesser, Unassigned)

Details

./mach test editor/libeditor/tests/test_CF_HTML_clipboard.html executed the test on Linux, despite it being marked as "skip-if = os != 'mac'".

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Summary: `editor/libeditor/tests/test_CF_HTML_clipboard.html` isn't executed on regular Try runs but fails on Try when run explicitly → `./mach test somePath/someTest` ignores `skip-if` from mochitests.ini

That behavior is intentional: Others have argued that mach should run an explicitly requested test regardless of manifest annotations. In particular, this way is handy for those trying to investigate disabled tests locally.

:gbrown: thanks for the clarification.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.