Reorganize project structure for clarity

- Rename tests/wasm-app/ to tests/apps/ for brevity
- Move lib/gl_immediate_shim.js to wasm/shims/ (consolidates WASM files)
- Delete docs/ directory (outdated Nov 2024 research docs)
- Delete patches/ directory (already applied to fork submodules)
- Delete wasm/patches/ and wasm/config/ (empty/unused)
- Update all file references in scripts, configs, and documentation
- Update .gitignore for new tests/apps/ paths

Verified both build workflows pass:
- wxWidgets tests: 255 passed
- Docker KiCad build: completed successfully

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Vaczi 2025-12-27 14:06:23 +01:00
commit a26b40c063
78 changed files with 38 additions and 128055 deletions

View file

@ -184,7 +184,7 @@ This section maps KiCad's wxWidgets usage to our test coverage.
## Standalone Test Apps
Organized in `wasm-app/standalone/` folders:
Organized in `apps/standalone/` folders:
| App | Status | Tests | KiCad Relevance |
|-----|--------|-------|-----------------|
@ -395,7 +395,7 @@ The `wasmedge_test` app verifies WASM-specific behaviors:
### Build Command
Always use the build script:
```bash
cd tests/wasm-app && ./build-test-apps.sh
cd tests/apps && ./build-test-apps.sh
```
---
@ -410,7 +410,7 @@ The test suite captures screenshots during test runs for visual regression testi
tests/
├── baseline-screenshots/ # Known-good reference screenshots (146+ files)
├── test-results/ # Screenshots from latest test run
└── wasm-app/
└── apps/
└── e2e/ # Playwright test specs
```
@ -467,7 +467,7 @@ cp tests/test-results/dialog-*.png tests/baseline-screenshots/
### Running Tests with Screenshots
```bash
cd tests/wasm-app
cd tests/apps
npm test # Run all tests (saves screenshots to test-results/)
npx playwright test --ui # Interactive mode with screenshot preview
```