From f8292c4901e74be38fc2f47d6f71b908d2298011 Mon Sep 17 00:00:00 2001 From: Karol Szwaj Date: Mon, 13 Jun 2022 10:58:19 +0200 Subject: [PATCH] Fix makefile --- tests/components/istio/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/components/istio/Makefile b/tests/components/istio/Makefile index 00d797d604f2..0c400f40ca6e 100644 --- a/tests/components/istio/Makefile +++ b/tests/components/istio/Makefile @@ -21,6 +21,10 @@ all: help ## Test: test: ## Run the tests of the project +ifeq ($(EXPORT_RESULT), true) + go install github.com/jstemmer/go-junit-report + $(eval OUTPUT_OPTIONS = | tee /dev/tty | go-junit-report -set-exit-code > junit-report.xml) +endif $(GOTEST) -v -race ./... $(OUTPUT_OPTIONS) test-k3d: provision-k3d kyma-istio-deploy test ## Run tests on k3d cluster