pcbjam/scripts/common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi a4f444fea8 feat(webgl): Add WebGL GAL test infrastructure (Phase 1)
Add complete test infrastructure for WebGL GAL visual regression testing:

- scripts/test-gal-regression.sh: Master script that builds both backends,
  runs tests, and performs two-level comparison (native vs baseline,
  webgl vs native)
- scripts/build-gal-webgl-test.sh: WASM build using Makefile with em++
- tests/gal-regression/wasm/: WebGL test harness (stub WEBGL_GAL)
- tests/e2e/gal-webgl.spec.ts: Playwright test for screenshot capture

Fix Homebrew Emscripten environment in scripts/common/env.sh:
- Set EMSDK_PYTHON for Python 3.10+ (em++ reads this, not $PYTHON)
- Add bundled LLVM to PATH (Emscripten needs its clang with WASM backend)

Verified: Native vs Baseline passes (28/28), WebGL generates blank
screenshots as expected (WEBGL_GAL implementation is Phase 2).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 16:11:31 +01:00
..
apply-asyncify.sh Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
apply-finalize.sh Fix clean build issues 2025-12-27 15:28:20 +01:00
env.sh feat(webgl): Add WebGL GAL test infrastructure (Phase 1) 2026-01-07 16:11:31 +01:00
functions.sh Add ccache and incremental build system for faster development 2025-12-26 20:51:58 +01:00
get-wasm-opt.sh Move tools/ to build-wasm/tools/ 2025-12-27 14:08:47 +01:00
inject-dyncall-shims.sh Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
logging.sh Fix indirect call to null error and logging.sh worktree support 2026-01-05 16:25:11 +01:00
versions.sh Add KiCad WASM build infrastructure and dependency scripts 2025-12-04 13:15:04 +01:00