mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
feat(sim): enable read noise by default and improve test infrastructure
- Set READ_NOISE_EN=1 as default in cam_top.sv - Wire READ_NOISE_* parameters to NOISE_* makefile variables in cocotb-common.mk - Add PYTHON env variable support in Makefile for test invocation - Update .gitignore with glob patterns (**/sim_build/, **/results.xml, *.fst) - Add justfile recipe for remote cam-test-top execution
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
PYTHON ?= python
|
||||
MODULE_TESTS := cam_core_banked match_engine_pipeline cam_write_noise cam_read_noise
|
||||
|
||||
.PHONY: help test-all test-top test-modules test-module test-model test-perf clean $(MODULE_TESTS:%=test-module-%)
|
||||
@@ -27,7 +28,7 @@ $(MODULE_TESTS:%=test-module-%):
|
||||
$(MAKE) -C tests/modules/$(@:test-module-%=%)
|
||||
|
||||
test-model:
|
||||
uv run pytest tests/model -q
|
||||
env -u PYTHONPATH -u PYTHONHOME $(PYTHON) -m pytest tests/model -q
|
||||
|
||||
test-perf:
|
||||
$(MAKE) -C tests/perf
|
||||
|
||||
Reference in New Issue
Block a user