Groups in tests with spaces in their name always pass, no matter what #23156
Labels
area-infrastructure
Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
P1
A high priority bug; for example, a single project is unusable or has many test failures
See also dart-lang/test#61 , but I suspect the problem is at least partially in test.py
So I can write a program like the attached foo_test, put it in dart/tests/html/foo_test.dart and run it with
tools/test.py -m release -c dart2js -r chrome -j 1 html/foo_test
and get one pass and one fail. This is causing real false passes in our repo, e.g. a number of the groups in node_validator_test had spaces in the names, so we weren't actually properly testing HTML sanitization. It would be good if this either worked or was an error. I will try and track down any other tests in HTML that have this property.
Attachment:
foo_test.dart (426 Bytes)
The text was updated successfully, but these errors were encountered: