Files
rust_browser/justfile
Zachary D. Rowitsch 3edcd53fe8 Add Phase 5 JS262 conformance harness with 99 test cases
Introduce a Test262-inspired conformance test suite with parallel runner,
TOML manifest, and policy enforcement (pass/known_fail/skip). Covers
language core (variables, expressions, functions, control flow, types),
DOM bindings, events, Promises, scheduling, and 20 known-fail cases
documenting unsupported features (for/while loops, try/catch, arrays,
objects, arrow functions, etc.).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:02:23 -05:00

49 lines
1.1 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
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}}