Two-tier conformance system: Tier 1 (550 vendored tests, PR gate) stays unchanged; Tier 2 clones tc39/test262 upstream and runs 4,745 qualifying tests via auto-generated manifest. Dynamic harness include loading supports 30+ harness files beyond sta.js/assert.js. ES5.1 subset tracked via es5id frontmatter tagging (969/2853 pass, 33%). Status overrides in checked-in js262_full_status.toml default to known_fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
set shell := ["bash", "-eu", "-o", "pipefail", "-c"]
|
|
|
|
_default:
|
|
@just --list
|
|
|
|
fix:
|
|
cargo fmt --all
|
|
|
|
fmt:
|
|
cargo fmt --all --check
|
|
|
|
lint:
|
|
cargo xclippy -- -D warnings
|
|
|
|
test:
|
|
cargo xtest -- --skip wpt_suite_matches_manifest_expectations --skip js262_suite_matches_manifest_expectations --skip js262_full_suite_matches_manifest_expectations
|
|
cargo test -p rust_browser --test wpt_harness wpt_suite_matches_manifest_expectations -- --nocapture
|
|
cargo test -p rust_browser --test js262_harness js262_suite_matches_manifest_expectations -- --nocapture
|
|
|
|
policy:
|
|
scripts/check_unsafe.sh
|
|
scripts/check_deps.sh
|
|
scripts/check_file_size.sh
|
|
|
|
metrics:
|
|
scripts/metrics.sh
|
|
|
|
ci:
|
|
just fmt
|
|
just lint
|
|
just test
|
|
just policy
|
|
just metrics
|
|
|
|
san:
|
|
scripts/sanitizer.sh
|
|
|
|
regen-wpt:
|
|
cargo test -p rust_browser --test wpt_harness regenerate_wpt_expected_outputs -- --ignored --nocapture
|
|
|
|
import-wpt *ARGS:
|
|
python3 scripts/import_wpt_reftests.py {{ARGS}}
|
|
|
|
wpt-status *ARGS:
|
|
python3 scripts/wpt_status.py {{ARGS}}
|
|
|
|
js262-status *ARGS:
|
|
python3 scripts/wpt_status.py --manifest tests/external/js262/js262_manifest.toml {{ARGS}}
|
|
|
|
curate-test262 *ARGS:
|
|
python3 scripts/curate_test262.py {{ARGS}}
|
|
|
|
triage-test262:
|
|
python3 scripts/triage_test262.py
|
|
|
|
clone-test262:
|
|
python3 scripts/clone_test262.py
|
|
|
|
test262-scan:
|
|
python3 scripts/clone_test262.py
|
|
python3 scripts/scan_test262.py
|
|
|
|
test262-full:
|
|
just test262-scan
|
|
cargo test -p rust_browser --test js262_harness js262_full_suite_matches_manifest_expectations -- --nocapture
|
|
|
|
triage-test262-full:
|
|
python3 scripts/triage_test262_full.py
|