mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 00:10:43 +00:00
Rebases onto origin/main and retires the paused in-tree native-first workspace, legacy scripts, legacy CI, and native-only docs per ADR 0006 (preserving full history permanently at Git tag native-first-final). Addresses all maintainer review findings on PR #406: - Isolate CrossOver/Wine child process environment in bx-cli (env_clear + minimal allowlist + opt-in --inherit-env, with unit tests) - Replace naive objdump grep in scripts/build-shims.sh with strict PE Export Directory verification (exact names, ordinals, forwarders, 0 extra exports, 0 forbidden MinGW imports across all 16 DLLs / 102 exports) - Restore global * @MacosPorters/maintainers fallback in .github/CODEOWNERS alongside per-track rules - Restore independent-verification, claims/evidence-class, provenance-first, and contributor clean-room protections in AGENTS.md - Unify docs/roadmap.md, CONTRIBUTING.md, README.md, docs/README.md, THIRD_PARTY_NOTICES.md, and CHANGELOG.md around Milestones M0-M6 and ADR 0006 Signed-off-by: ates <ahmetrizaates@hotmail.com>
13 lines
606 B
Markdown
13 lines
606 B
Markdown
# Synthetic PE32+ Conformance Tests (`tests/conformance/`)
|
|
|
|
Every directory matching `test_*/CMakeLists.txt` is **auto-discovered** by `tests/conformance/CMakeLists.txt` when running `scripts/build-shims.sh`.
|
|
|
|
## Adding a New Test (Zero Shared-File Edits)
|
|
|
|
1. Create `tests/conformance/test_<shim>/CMakeLists.txt` and `main.cpp`.
|
|
2. Build via `scripts/build-shims.sh` (outputs `build-shims/bin/test_<shim>.exe`).
|
|
3. Run live under CrossOver + Rosetta 2:
|
|
```sh
|
|
target/debug/bx-cli run --prefix /tmp/bx-test --shims build-shims/bin --log /tmp/bx-test.jsonl --exe build-shims/bin/test_<shim>.exe
|
|
```
|