From 61a37cb2f0afb6dd96c02948894d3492642efa5f Mon Sep 17 00:00:00 2001 From: "James Hughes (Splunk)" Date: Thu, 21 Dec 2023 22:10:00 -0800 Subject: [PATCH] adds gotestsum to install tools (#2043) --- Makefile | 4 ++-- commons-test.mk | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 849cbc3178..2674087e18 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include ./commons-test.mk .PHONY: test-all -test-all: tools test-unit +test-all: tools test-tools test-unit .PHONY: test-examples test-examples: @@ -11,4 +11,4 @@ test-examples: .PHONY: tidy-all tidy-all: make -C examples tidy-examples - make -C modules tidy-modules \ No newline at end of file + make -C modules tidy-modules diff --git a/commons-test.mk b/commons-test.mk index 2e85378daa..6a0606e7d3 100644 --- a/commons-test.mk +++ b/commons-test.mk @@ -25,6 +25,10 @@ test-%: tools: go mod download +.PHONY: test-tools +test-tools: + go install gotest.tools/gotestsum@latest + .PHONY: tools-tidy tools-tidy: go mod tidy