pcbjam/tests/gal-regression/wasm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 917d03c22f fix(wasm-eh): native-EH link flags for the GAL WebGL test app
The native-EH migration left tests/gal-regression/wasm/Makefile on the old
Emscripten JS-exception model (-sNO_DISABLE_EXCEPTION_CATCHING, no
-fwasm-exceptions). The wxWidgets libs it links are now built with
-fwasm-exceptions, so wasm-ld couldn't resolve __cpp_exception / __c_longjmp and
the "Build GAL WebGL test app" CI step failed. This was masked until now because
the host post-process (finalize) bug killed every run before this step ran.

Compile and link with DEPS_EH_FLAGS (-fwasm-exceptions -sSUPPORT_LONGJMP=wasm
-sWASM_LEGACY_EXCEPTIONS=1), honoring the value build-gal-webgl-test.sh exports
via env.sh with a Makefile ?= fallback — matching the wxWidgets test-app build.
Drop the now-incompatible -sNO_DISABLE_EXCEPTION_CATCHING.

Verified locally: ./scripts/build-gal-webgl-test.sh links clean against the
native-EH wx libs and produces gal_webgl_test.{js,wasm}.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 13:25:00 +02:00
..
generated feat(webgl): Migrate to pure WebGL 2.0 and fix GL canvas layering 2026-03-20 12:38:24 +01:00
gal_webgl_test.cpp docs(webgl): Explain why white background is required for comparison 2026-01-08 12:35:49 +01:00
gal_webgl_test.html feat(webgl): Enable all 28 scenarios for WebGL test harness 2026-01-08 11:11:03 +01:00
generate_shaders.py feat(webgl): Migrate to pure WebGL 2.0 and fix GL canvas layering 2026-03-20 12:38:24 +01:00
legacy_gl_stubs.js feat(webgl): Fix WebGL GAL rendering with proper coordinate setup 2026-01-08 10:13:11 +01:00
Makefile fix(wasm-eh): native-EH link flags for the GAL WebGL test app 2026-06-30 13:25:00 +02:00
wasm_stubs.cpp fix(test): match KiCad 10 FONT::Draw signature in gal-webgl stub 2026-06-24 10:30:25 +02:00