Skip to content

Commit

Permalink
Improve and update test262 integration
Browse files Browse the repository at this point in the history
1. Update the test262 submodule to the latest version

This brings more test cases to already enabled folders, but also
requires more exclusions of currently failing checks.

2. Improve test262 runner (Test262SuiteTest class)

* Allow arbitrary names of expected exceptions and support the new
  structure of the 'negative' section in tests' metadata
* Distinguish exception's phase, early vs runtime, for negative tests
* Support for a 'raw' flag: no harness files, implies 'noStrict'
* Add filtering by the 'features' lists
* Exclude tests with a 'module' flag, as this isn't supported by Rhino
* Exclude tests with an 'async' flag, which isn't yet supported by
  the Test262SuiteTest itself
* Couple of other smaller fixes

3. Enable more tests, mostly from the 'language' folder

This brings the total number of passing tests to 44k.
  • Loading branch information
sainaen committed Jan 6, 2018
1 parent 58aa974 commit 49cd2ec
Show file tree
Hide file tree
Showing 3 changed files with 790 additions and 313 deletions.
2 changes: 1 addition & 1 deletion test262
Submodule test262 updated 25959 files
Loading

0 comments on commit 49cd2ec

Please sign in to comment.