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>
57 lines
870 B
Text
57 lines
870 B
Text
# Build directories
|
|
build/
|
|
build-*/
|
|
cmake-build-*/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Compiled objects
|
|
*.o
|
|
*.obj
|
|
*.a
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
|
|
# WebAssembly output (but not Makefiles that end in .wasm)
|
|
*.wasm
|
|
!Makefile.wasm
|
|
*.js.map
|
|
*.wasm.map
|
|
|
|
# macOS
|
|
.DS_Store
|
|
|
|
# Emscripten cache
|
|
.emscripten_cache/
|
|
|
|
# Clean clone for reproducible builds (generated by build-wxwidgets-wasm-clean.sh)
|
|
wxwidgets-clean/
|
|
|
|
# Test artifacts
|
|
/tests/node_modules/
|
|
/tests/playwright-report/
|
|
/tests/test-results/
|
|
/tests/.test-port
|
|
/test-results/
|
|
/tests/apps/*.js
|
|
/tests/apps/*.html
|
|
/tests/apps/minimal_test.wasm
|
|
/tests/apps/standalone/*/*.js
|
|
/tests/apps/standalone/*/*.html
|
|
/tests/apps/standalone/*/*.wasm
|
|
/tests/apps/kicad/*.js
|
|
/tests/apps/kicad/*.wasm
|
|
/tests/apps/kicad/*.tar.gz
|
|
!tests/apps/kicad/pcbnew.html
|
|
/tests/apps/gal-webgl/*.js
|
|
/tests/apps/gal-webgl/*.wasm
|
|
/temp/
|
|
*.log
|
|
*.tmp
|
|
output/
|