Add linker flags to go test, for docs test

TestGenerateDocs uses the minikube version
pull/7805/head
Anders F Björklund 2020-04-20 22:14:32 +02:00
parent ae7c923feb
commit a02fbbe1c8
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ generate-docs: out/minikube ## Automatically generate commands documentation.
.PHONY: gotest
gotest: $(SOURCE_GENERATED) ## Trigger minikube test
go test -tags "$(MINIKUBE_BUILD_TAGS)" $(MINIKUBE_TEST_FILES)
go test -tags "$(MINIKUBE_BUILD_TAGS)" -ldflags="$(MINIKUBE_LDFLAGS)" $(MINIKUBE_TEST_FILES)
.PHONY: extract
extract: ## Compile extract tool