参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke
结论:按 LinuxCNC source policy 将 TOOL_TABLE 恢复为 source coverage only,撤回生成 API/browser switchkins cases,并增加 checker/native 守护;表校验、native、source-link 均通过。
This commit is contained in:
@@ -196,10 +196,6 @@ grep -F 'subroutinePath: options.subroutinePath' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'subroutinepath: options.subroutinepath' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'subroutine_path: options.subroutine_path' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'SUBROUTINE_PATH: options.SUBROUTINE_PATH' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'toolTable: options.toolTable' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'tooltable: options.tooltable' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'tool_table: options.tool_table' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'TOOL_TABLE: options.TOOL_TABLE' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'kinematics: options.kinematics' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'trt: options.trt' web/src/wasm-core.js >/dev/null
|
||||
grep -F 'pivotLength: options.pivotLength' web/src/wasm-core.js >/dev/null
|
||||
@@ -244,10 +240,6 @@ grep -F 'subroutinePath?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'subroutinepath?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'subroutine_path?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'SUBROUTINE_PATH?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'toolTable?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'tooltable?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'tool_table?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'TOOL_TABLE?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'kinematics?: string;' web/src/index.ts >/dev/null
|
||||
grep -F 'trt?: "xyzbc" | "xyzac" | string;' web/src/index.ts >/dev/null
|
||||
grep -F 'pivotLength?: number;' web/src/index.ts >/dev/null
|
||||
@@ -304,10 +296,10 @@ grep -F '"field":"subroutinePath"' web/public/linuxcnc_switchkins_remap_config_c
|
||||
grep -F '"field":"subroutinepath"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
grep -F '"field":"subroutine_path"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
grep -F '"field":"SUBROUTINE_PATH"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
grep -F '"field":"toolTable"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
grep -F '"field":"tooltable"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
grep -F '"field":"tool_table"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
grep -F '"field":"TOOL_TABLE"' web/public/linuxcnc_switchkins_remap_config_cases.json >/dev/null
|
||||
if grep -F '"field":"tool' web/public/linuxcnc_switchkins_remap_config_cases.json; then
|
||||
echo "LinuxCNC TOOL_TABLE must remain source coverage only, not generated browser switchkins cases" >&2
|
||||
exit 1
|
||||
fi
|
||||
grep -F '{"switchkins", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"remap", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"machine", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
@@ -337,10 +329,10 @@ grep -F '{"subroutinePath", ' core/tests/linuxcnc_switchkins_remap_config_cases.
|
||||
grep -F '{"subroutinepath", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"subroutine_path", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"SUBROUTINE_PATH", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"toolTable", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"tooltable", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"tool_table", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
grep -F '{"TOOL_TABLE", ' core/tests/linuxcnc_switchkins_remap_config_cases.inc >/dev/null
|
||||
if grep -F '{"tool' core/tests/linuxcnc_switchkins_remap_config_cases.inc; then
|
||||
echo "LinuxCNC TOOL_TABLE must remain source coverage only, not generated C++ switchkins cases" >&2
|
||||
exit 1
|
||||
fi
|
||||
grep -F '"moduleResolution": "Bundler"' web/tsconfig.json >/dev/null
|
||||
grep -F '"include": ["src/index.ts", "src/**/*.d.ts"]' web/tsconfig.json >/dev/null
|
||||
grep -F 'createWasmSimulator' test-web-wasm-node-smoke.cjs >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user