Skip to content

Commit ff93778

Browse files
committed
Run the upstream test262 tests
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.
1 parent 06b806c commit ff93778

File tree

10 files changed

+2118
-39
lines changed

10 files changed

+2118
-39
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v2
32+
with:
33+
submodules: true
3234
- name: use node.js v16.x
3335
uses: actions/setup-node@v1
3436
with:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ tsc-out/
55
.vscode/*
66
!.vscode/launch.json
77
*.tgz
8-
test/tc39

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "test262"]
2+
path = test262
3+
url = https://github.com/tc39/test262

0 commit comments

Comments
 (0)