Skip to content

Commit e5400ab

Browse files
committed
More changes for Jenkins testing
1 parent 4815ae1 commit e5400ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ e2e-test: prepare
9191
minikube image load $(dockerImage)
9292

9393
@echo "=====Running e2e tests"
94-
cd test; $(if $(saveOutput), $(path)gotestsum --junitfile test_results/e2e-tests.xml ./e2e/... -count=1, go test -v -count=1 ./test/e2e/...)
94+
cd test; $(if $(saveOutput),$(if $(path),$(path),)gotestsum --junitfile test_results/e2e-tests.xml ./e2e/... -count=1, go test -v -count=1 ./test/e2e/...)
9595

9696
@echo "=====Delete minikube cluster"
9797
minikube delete
@@ -104,7 +104,7 @@ e2e-test: prepare
104104
.PHONY: template-test
105105
template-test: prepare
106106
@echo "=====Running template tests"
107-
cd test; $(if $(saveOutput), gotestsum --junitfile test_results/testplate-tests.xml ./template/... -count=1, go test -v -count=1 ./test/template/...)
107+
cd test; $(if $(saveOutput), $(if $(path),$(path),)gotestsum --junitfile test_results/testplate-tests.xml ./template/... -count=1, go test -v -count=1 ./test/template/...)
108108

109109
#***************************************************************************
110110
# test

0 commit comments

Comments
 (0)