Skip to content

Commit

Permalink
Run the upstream test262 tests
Browse files Browse the repository at this point in the history
The Temporal test262 tests are being removed from tc39/proposal-temporal
(see tc39/proposal-temporal#1853 ) and moved
to tc39/test262 where they will continue to be developed. Run them from a
git submodule so we can pull in new upstream versions when we are ready
for them.

Instead of cloning tc39/proposal-temporal to run the tests, we copy the
relevant parts of its test262 CI script. The files expected-failures.txt,
parseResults.js, and preprocessor.test262.cjs are copied from there as
well.
  • Loading branch information
ptomato committed Oct 1, 2021
1 parent 62ff777 commit 9334d28
Show file tree
Hide file tree
Showing 10 changed files with 2,102 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: use node.js v16.x
uses: actions/setup-node@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ tsc-out/
.vscode/*
!.vscode/launch.json
*.tgz
test/tc39
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "test262"]
path = test262
url = https://github.com/tc39/test262
Loading

0 comments on commit 9334d28

Please sign in to comment.