diff --git a/Makefile b/Makefile index a6d92d23..15f5e85d 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ examples: .PHONY: test tests test tests: ginkgo-install -ifndef JUNITFILE +ifndef ARTIFACT_DIR $(GINKGO) run -r $(ginkgo_flags) else $(GINKGO) run -r $(ginkgo_flags) --junit-report=junit_golang_tests_junit.xml --output-dir=${ARTIFACT_DIR}