Running a broken xhtml wpt test shows "unable to find tests" error
Categories
(Testing :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: edgar, Unassigned)
Details
I was adding a new xhtml wpt test in a bug and tried to verify the test locally.
The mach test keeps showing UNKONWN test, e.g.
UNKNOWN TEST: testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_before_prepare_the_script_element.xhtml
I was unable to find tests from the given argument(s).You should specify a test directory, filename, test suite name, or
abbreviation.It's possible my little brain doesn't know about the type of test you are
trying to execute. If you suspect this, please request support by filing
a bug at
https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=General.
It took me a while to realize that the issue was caused by a missing end tag in the XHTML file.
It would be good if we can show more clear message about the xhtml is broken instead of showing "unable to find tests" error.
Description
•