Skip to content

Commit b0074de

Browse files
committed
refactor(test262): consolidate profiles and gates
1 parent c14adea commit b0074de

789 files changed

Lines changed: 1251 additions & 331130 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
run: |
6666
cargo fmt --all -- --check
6767
./scripts/check-no-test262-special-casing.sh
68+
./scripts/test-test262.sh --spec dev-support/test262/current.conf --check
6869
./scripts/check-rust-only.sh
6970
7071
- name: Run fast engine tests
@@ -161,7 +162,8 @@ jobs:
161162
run: |
162163
set -o pipefail
163164
mkdir -p target
164-
./scripts/test-test262-full.sh 2>&1 | tee target/test262-full.log
165+
./scripts/test-test262.sh --spec dev-support/test262/current.conf --full \
166+
2>&1 | tee target/test262-full.log
165167
166168
- name: Upload complete Test262 receipts
167169
if: always()
@@ -172,7 +174,7 @@ jobs:
172174
target/test262-full.tsv
173175
target/test262-full.jsonl
174176
target/test262-full.log
175-
tests/test262-full-baseline.txt
177+
dev-support/test262/current.conf
176178
compat/upstream.toml
177179
if-no-files-found: warn
178180
retention-days: 30

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ live namespace objects, and core `import.meta` semantics. Dynamic import,
1010
import attributes, top-level await, and QuickJS host-populated `import.meta`
1111
properties remain parity work.
1212

13-
The latest frozen Test262 vector is **68,295 passes / 68,347 runnable /
14-
102,037 total variants**. R3ec-A passes all 86 audited module
15-
declaration-position parse negatives; all 86 are new canonical gains, the
16-
other 101,951 rows are unchanged, and there are zero regressions. Detailed
17-
receipts and historical bookkeeping live in the status documents below.
13+
The authoritative R3ed-A Test262 baseline records **68,362 full-corpus passes
14+
out of 102,037 variants (66.997%)**, with **68,414 eligible variants
15+
(67.048%)**. The 68,362 / 68,414 runnable pass rate (99.924%) is a secondary
16+
quality measure, not the headline compatibility metric.
1817

1918
**[Open the browser playground →](https://pocket-stack.github.io/quickjs-oxide/)**
2019
— it runs this Rust engine's actual WebAssembly build, not host `eval`. The
@@ -37,25 +36,24 @@ cargo run --quiet --bin qjs -- --print-result -e \
3736

3837
## Status
3938

40-
- [Implementation status and milestone ledger](docs/status.md)
41-
- [Pinned Test262 progress baseline](docs/test262.md)
39+
- [Current implementation status](docs/status.md)
40+
- [Pinned Test262 baseline and metric definitions](docs/test262.md)
4241
- [Parity acceptance contract](docs/parity.md)
4342
- [Playground build and trust boundary](docs/playground.md)
4443
- [Pinned upstream release](compat/upstream.toml)
44+
- [Test262 gate data and archived history](dev-support/test262/README.md)
4545

4646
## Verify
4747

4848
```sh
4949
cargo test --locked --workspace --all-targets
50-
./scripts/test-test262-current-global.sh --check # latest frozen receipt
51-
./scripts/test-test262-full.sh
50+
./scripts/test-test262.sh --check
51+
./scripts/test-test262.sh --focused
52+
TEST262_WORKERS=2 ./scripts/test-test262.sh --full
5253
./scripts/test-web-playground.sh
5354
npm ci && npx playwright install chromium && npm run test:browser
5455
```
5556

56-
Historical focused gates and their checksum-bound receipts are indexed in the
57-
status documents above.
58-
5957
## License
6058

6159
[MIT](LICENSE). Third-party notices: [NOTICE](NOTICE), [LICENSES](LICENSES/).

compat/test262-for-await-of-baseline.txt

Lines changed: 0 additions & 101 deletions
This file was deleted.

compat/test262-for-await-of-exclusions.tsv

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)