From a3718a466429e199c67508982a1aceff20782bf9 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Fri, 31 Jul 2020 13:49:52 +0200 Subject: [PATCH] Allow passing number of tests runs through "COUNT" parameter. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6400e06..ee0c9c1 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,10 @@ ifneq ($(TEST),) TESTARGS := $(TESTARGS) -run $(TEST) endif +ifneq ($(COUNT),) +TESTARGS := $(TESTARGS) -count $(COUNT) +endif + hook: [ ! -d "$(CURDIR)/.git/hooks" ] || ln -sf "$(CURDIR)/scripts/pre-commit.hook" "$(CURDIR)/.git/hooks/pre-commit"