mirror of https://github.com/boa-dev/boa.git
Browse Source
This is calculated based the tests `es5id` or `es6id`. Judging by [this](https://github.com/tc39/test262/issues/1557) it's probably not the best method of doing it, but the alternative would require a lot of rework on the boa_tester so that it can pull an older version of the test262 spec which has it's own problems since there's not really an "ES5" only version. I would think that if we're 100% passing on es5id's then it's safe to assume boa supports es5 (assuming test262's es5id is covering all the es5 cases) This Pull Request fixes/closes #2629. It changes the following: - Store `spec_version` in TestResult based on the tests `es[6/5]id` - Count all es5, es6 and their test outcome during `TestSuite::run()` - Print the conformance. I'm serializing the `spec_version` outcomes so that it can be displayed in test262 github page. I'd like to work on that too if possible. Let me know if there's anything more I should cover in this PR, I'll gladly do it :) Co-authored-by: jedel1043 <jedel0124@gmail.com>pull/2712/head
Zack Mitkin
2 years ago
3 changed files with 142 additions and 61 deletions
Loading…
Reference in new issue