-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update wave test runner to current version
- Loading branch information
1 parent
dba739b
commit ef87233
Showing
50 changed files
with
3,478 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# WMAS2017 ECMA Integration | ||
|
||
## Generating Tests | ||
|
||
Clone the ECMAScript 5 tests into the working directory | ||
|
||
``` | ||
$ git clone [email protected]:tc39/test262.git -b es5-tests | ||
``` | ||
|
||
Working directory should look like this | ||
|
||
``` | ||
generate-tests.js | ||
test262 | ||
test-template.html | ||
webplatform-adapter.js | ||
``` | ||
|
||
Generate the tests by running | ||
|
||
``` | ||
$ node generate-tests.js | ||
``` | ||
|
||
Generated tests are placed in `ecmascript` directory. Copy this | ||
directory into the top level directory of the Web Platform Tests | ||
hierarchy in order for the Web Platform Test Runner to run them. | ||
|
||
## Test generation parameters | ||
|
||
``` | ||
$ node generate-tests.js < test262-repo-dir > < output-dir > | ||
``` | ||
|
||
You can specify where the test262 repository is located and where the | ||
generated tests should be put in by passing the paths to the | ||
generator script as shown above. | ||
|
||
## Excluded tests | ||
|
||
The following tests are automatically excluded, because they are | ||
causing the browser to freeze. | ||
|
||
``` | ||
ch15/15.4/15.4.4/15.4.4.15/15.4.4.15-3-14.js | ||
ch15/15.4/15.4.4/15.4.4.18/15.4.4.18-3-14.js | ||
ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-14.js | ||
ch15/15.4/15.4.4/15.4.4.21/15.4.4.21-3-14.js | ||
ch15/15.4/15.4.4/15.4.4.22/15.4.4.22-3-14.js | ||
``` |
Oops, something went wrong.