From 78a7ef34a5055ab80d788c5d8bbc7473829c4500 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Sat, 9 Apr 2022 13:43:50 +0200 Subject: [PATCH] Makefile update for test coverage --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3ab7790a..8ba4ff4d 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ VARLIST := OS # Project Information VARLIST += WAREWULF VERSION RELEASE WAREWULF ?= warewulf -VERSION ?= 4.3.0-rc1 +VERSION ?= 4.3.0rc1 GIT_TAG := $(shell test -e .git && git describe --tags --long --first-parent --always) ifndef GIT_TAG @@ -142,7 +142,7 @@ vet: go vet ./... test-it: - go test -v ./... + go test -v ./... -ldflags="-X 'github.com/hpcng/warewulf/internal/pkg/warewulfconf.ConfigFile=$(shell pwd)/etc/warewulf.conf'" # Generate test coverage test-cover: ## Run test coverage and generate html report