接入 WASM blocker 自检
结论:native/source-link 必跑入口已执行 blocker 分析器负路径自检,防止坏 manifest、缺失源根、重复条目和缺失替换映射退化。
This commit is contained in:
@@ -180,4 +180,11 @@ for entry in [
|
||||
text = Path(entry).read_text(encoding="utf-8")
|
||||
if "./check-linuxcnc-wasm-blockers-source-map.sh" not in text:
|
||||
raise SystemExit(f"{entry} must run ./check-linuxcnc-wasm-blockers-source-map.sh")
|
||||
for entry in [
|
||||
"test-native.sh",
|
||||
"test-linuxcnc-source-link.sh",
|
||||
]:
|
||||
text = Path(entry).read_text(encoding="utf-8")
|
||||
if "CNC_SIM_WASM_BLOCKERS_SELF_CHECKS=1" not in text:
|
||||
raise SystemExit(f"{entry} must run wasm blocker analyzer self-checks")
|
||||
PY
|
||||
|
||||
Reference in New Issue
Block a user