mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 20:21:25 +00:00
Add optional SEED=n command line option to Makefile, and -S n command line option to test scripts, for deterministic regression tests.
This commit is contained in:
parent
d8ad889594
commit
f4240cc8a4
14 changed files with 175 additions and 24 deletions
|
@ -1,8 +1,13 @@
|
|||
|
||||
EXTRA_FLAGS=
|
||||
SEED=
|
||||
|
||||
ifneq ($(strip $(SEED)),)
|
||||
SEEDOPT=-S$(SEED)
|
||||
endif
|
||||
|
||||
$(MAKECMDGOALS):
|
||||
@$(basename $(MAKEFILE_LIST)).sh -G -j $(EXTRA_FLAGS) $@
|
||||
@$(basename $(MAKEFILE_LIST)).sh -G -j $(SEEDOPT) $(EXTRA_FLAGS) $@
|
||||
|
||||
.PHONY: $(MAKECMDGOALS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue