Wave icon indicating copy to clipboard operation
Wave copied to clipboard

Run target-specific regression stages through tools.ci.test

Open LunaStev opened this issue 2 months ago • 0 comments

Current status — historical Python implementation superseded

This issue remains completed. PR #1071 subsequently replaced the project-owned Python execution/verification code with the native Rust wave-tools crate while retaining Cargo and Meson.

Case/corpus execution and platform verification now live in tools/src/runner.rs, tools/src/native.rs, tools/src/wasm.rs, tools/src/freebsd.rs and tools/src/windows.rs. Actions declares the platform steps explicitly.

The scope below records the earlier implementation and is retained for traceability. It is not current guidance to recreate tools.ci modules, x.py, or the removed Python test packages. Shared Python runtime support for Meson and the offline high-precision reference generator are deliberately retained.

Historical implementation scope and evidence

Motivation

.github/workflows/rust.yml and .github/workflows/cases.yml encode frontend, backend, std, provider and runtime execution independently. This makes local reproduction and skipped-stage accounting inconsistent.

Scope

Depends on #824 and #825. Add tools/ci/test.py so python3 -m tools.ci.test --target linux-amd64 selects the established frontend, backend, std, native-provider and runtime checks through one target plan.

Reuse existing native, QEMU, WASM and FreeBSD runners. Preserve timeouts, process-tree cleanup, O0/O2 coverage where present, expected failures, source std selection and evidence retention. Keep compile-only results distinct from actual execution and preserve independent checks when their prerequisites succeeded. Do not fix or conceal WASM host-import failures or redesign #459 in this migration. Difficulty: hard.

Completion criteria

  • [ ] The old and new plans have a reviewed inventory proving no test family or supported ABI lane was dropped.
  • [ ] Successful, failed, cancelled, interrupted, unavailable and not-run stages are distinguished; missing required work cannot pass.
  • [ ] Commands and retained reports make local reproduction possible for each target with its required native runner/emulator.
  • [ ] Tests cover stage prerequisites and failures, and representative native/QEMU/WASM/FreeBSD jobs exercise the new entry point.

LunaStev avatar Sep 30 '26 11:09 LunaStev