From e5697970df18dae73262709791cd5e43169fe8d2 Mon Sep 17 00:00:00 2001 From: wangdequan Date: Mon, 8 Jun 2026 07:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E8=A7=84=E5=88=92=E7=BB=A7=E7=BB=AD?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 结论:解释器 Node WASM 与浏览器 smoke 已统一使用共享 fixture 矩阵,聚合 host/WASM/browser 验证通过。 --- wasm-port/docs/compatibility-validation.md | 6 ++ wasm-port/tests/browser/interp_smoke.html | 69 +++++------- .../tests/fixtures/interp-fixture-matrix.mjs | 80 ++++++++++++++ .../tests/wasm/node/verify_interp_wasm.mjs | 101 ++++-------------- 4 files changed, 133 insertions(+), 123 deletions(-) create mode 100644 wasm-port/tests/fixtures/interp-fixture-matrix.mjs diff --git a/wasm-port/docs/compatibility-validation.md b/wasm-port/docs/compatibility-validation.md index 245e481..a2730c5 100644 --- a/wasm-port/docs/compatibility-validation.md +++ b/wasm-port/docs/compatibility-validation.md @@ -236,6 +236,12 @@ machine-session validation remain future work. ## WASM/Browser Fixture Matrix +The executable fixture lists for Node WASM and browser interpreter smoke tests +are centralized in `tests/fixtures/interp-fixture-matrix.mjs`. Additions to the +matrix must continue to route execution through the SDK and exported C ABI +backed by vendored LinuxCNC interpreter code; the matrix is only a test +coverage list, not a CNC behavior implementation. + Node WASM `Interp::execute()` coverage currently includes: - `minimal_linear` diff --git a/wasm-port/tests/browser/interp_smoke.html b/wasm-port/tests/browser/interp_smoke.html index 0c6eb12..04d8590 100644 --- a/wasm-port/tests/browser/interp_smoke.html +++ b/wasm-port/tests/browser/interp_smoke.html @@ -8,6 +8,13 @@
running