aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools/autotest.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tools/autotest.mk')
-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)