-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All tests in repo fail if any test in repo has an extraneous /*---
sequence
#161
Comments
I spent some time looking into this. The bug, or at least surprising behavior, is that test262-harness parses the metadata out of all the files in the current working directory, even if you pass in one relative filename like in Ben's example. Normally, this is not visible to the user, because it suppresses output from tests that don't match the pattern(s) provided on the command line. But if a test has a syntax error in its metadata, like Why does this happen? It's not obvious to me what the right solution is. Some possibilities:
I was going to try to fix this, until I realized it wasn't obvious what the right solution was. |
In any case, the bug title should probably be something more general, like "syntax error in one test causes all tests in the same directory to fail." |
how to replicate:
/*---
. In this case, I've broken type-datetimefield-valid.js in intl402/DisplayNames/prototype/of.The text was updated successfully, but these errors were encountered: