| name | trinity-test |
| description | Run Trinity test suites and analyze results. Use for testing VSA, VM, Firebird, WASM, or full test suite. |
Trinity Test Runner
Last Build Status
!cd /Users/playra/trinity-w1 && zig build 2>&1 | tail -5
Task
Run tests for: $ARGUMENTS
Test Commands by Module
| Module | Command |
|---|
| All | cd /Users/playra/trinity-w1 && zig build test |
| VSA | cd /Users/playra/trinity-w1 && zig test src/vsa.zig |
| VM | cd /Users/playra/trinity-w1 && zig test src/vm.zig |
| Single file | cd /Users/playra/trinity-w1 && zig test src/<file>.zig |
Steps
- Run the appropriate test command based on the module argument
- Parse output for pass/fail counts
- If failures: read the failing test, identify root cause, suggest fix
- Report summary: total tests, passed, failed, duration
Key Test Files
- VSA tests:
src/vsa.zig, src/vsa/tests.zig
- VM tests:
src/vm.zig
- BSD verification:
src/bsd/verify_bsd.zig, src/bsd/verify_lmfdb.zig
- HSLM:
src/hslm/model.zig, src/hslm/trainer.zig
- Self-improver:
src/vibeec/self_improver.zig