Use nproc for parallel testing

This commit is contained in:
2025-11-07 12:11:29 +01:00
parent 3761077b84
commit 3828850dd6
2 changed files with 3 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ mill:
autotest: mill test-bench/mem/tests/$(PROG).mem ##! Lance la simulation automatique pour tous les tests ou juste celui fourni dans PROG
testall: mill compile
@PROOT=$(PWD) ./mill TPchisel.test.testOnly $(TOP_REP).ZzTopAllSpec
@PROOT=$(PWD) NPROC=$(shell nproc) ./mill TPchisel.test.testOnly $(TOP_REP).ZzTopAllSpec
simulation: compile ##! Lance gtkwave sur le test fourni dans PROG
@$(call check_vars,PROG)