From 711c1b02596205262801116c20b19ee8a8ef5243 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 14 Mar 2024 13:40:07 -0400 Subject: [PATCH] Makefile: ensure tests are not parallel Signed-off-by: Vincent Batts --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ac31e47..f15fdfa 100644 --- a/Makefile +++ b/Makefile @@ -39,10 +39,10 @@ CLEAN_FILES += .test .test.tags NO_VENDOR_DIR := $(shell find . -type f -name '*.go' ! -path './vendor*' ! -path './.git*' ! -path './.vscode*' -exec dirname "{}" \; | sort -u) .test: $(SOURCE_FILES) - go test -v $(NO_VENDOR_DIR) && touch $@ + go test -p 1 -v $(NO_VENDOR_DIR) && touch $@ .test.tags: $(SOURCE_FILES) - set -e ; for tag in $(TAGS) ; do go test -tags $$tag -v $(NO_VENDOR_DIR) ; done && touch $@ + set -e ; for tag in $(TAGS) ; do go test -p 1 -tags $$tag -v $(NO_VENDOR_DIR) ; done && touch $@ .PHONY: lint lint: .lint