For detailed guidance on writing new tests (lit test structure, FileCheck patterns, test output locations), see test/TESTING.md.
- Full compiler suite:
ninja -C build check-ttlang-all(MLIR, bindings, end-to-end, pytest, Python lit). - Quick check (MLIR + bindings only):
ninja -C build check-ttlang. - Single MLIR file:
llvm-lit test/ttlang/<path>.mlir.
python -m pytest test/sim— not included incheck-ttlang-all, must be run separately.
- Python API:
python -m pytest test/python.
- Format and lint before review:
pre-commit run --all-files. - Reconfigure if dependencies change: rerun
cmake -G Ninja -B buildafter pulling toolchain updates.