From 23a341bca38628324266269c101e322497d17c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=A7=80=E5=90=89?= <84045975+thc1006@users.noreply.github.com> Date: Fri, 18 Jul 2025 18:48:42 +0800 Subject: [PATCH] Update Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 蔡秀吉 <84045975+thc1006@users.noreply.github.com> --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2606e6ae8..d4c844ae3 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,12 @@ ACCEPTANCE_RUN_TESTS=. PKG := ./... TAGS := TESTS := . -TESTFLAGS := +TESTFLAGS := -shuffle=on +ifneq ($(TESTCOUNT),) +TESTFLAGS += -count=$(TESTCOUNT) +else +TESTFLAGS += -count=1 +endif LDFLAGS := -w -s GOFLAGS := CGO_ENABLED ?= 0