aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-09-23 13:42:08 +0200
committerClifford Wolf <clifford@clifford.at>2016-09-23 13:42:08 +0200
commit6300c0b3c294110456b0644e05d5add85d444cc0 (patch)
tree76696c4da0c979b23c8951daed8162ffcdb8edc9 /tests/tools
parent0c697b9eacacfebd69c9603c2cb79ec70311197d (diff)
parentf4240cc8a4545e4d2e2f926a72aa911d5373ab95 (diff)
downloadyosys-6300c0b3c294110456b0644e05d5add85d444cc0.tar.gz
yosys-6300c0b3c294110456b0644e05d5add85d444cc0.tar.bz2
yosys-6300c0b3c294110456b0644e05d5add85d444cc0.zip
Merge branch 'master' of https://github.com/brouhaha/yosys
Diffstat (limited to 'tests/tools')
-rw-r--r--tests/tools/autotest.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tools/autotest.mk b/tests/tools/autotest.mk
index f65002cef..c68678929 100644
--- a/tests/tools/autotest.mk
+++ b/tests/tools/autotest.mk
@@ -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)