From d7e748247818d226c10510b6d88ca110b5d70f97 Mon Sep 17 00:00:00 2001 From: Thomas Rodgers Date: Tue, 3 Oct 2023 22:16:41 +0000 Subject: [PATCH] Add testnolint build rule (#6400) * Add testnolint build rule * Make testnolint a prerequisite of test * Add to PHONY --- GNUmakefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 8a0ed0bf37..0e296d936f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,7 +8,10 @@ default: build build: lint go install -test: lint +test: lint testnolint + +# Used in CI to prevent lint failures from being interpreted as test failures +testnolint: go test $(TESTARGS) -timeout=30s $(TEST) testacc: lint @@ -45,5 +48,5 @@ endif docscheck: @sh -c "'$(CURDIR)/scripts/docscheck.sh'" -.PHONY: build test testacc fmt fmtcheck vet lint errcheck test-compile website website-test docscheck +.PHONY: build test testnolint testacc fmt fmtcheck vet lint errcheck test-compile website website-test docscheck