mirror of https://github.com/istio/istio.io.git
add junit report to build (#7599)
* add junit report * remove istio.test.env argument
This commit is contained in:
parent
ee8927ea74
commit
691d286cf7
|
|
@ -2,9 +2,12 @@ export TIMEOUT ?= 30m
|
|||
|
||||
# gocache disabled by -count=1
|
||||
# tests in different packages forced to be sequential by -p=1
|
||||
doc.test: init
|
||||
@${GO} test ${REPO_ROOT}/tests/setup/... -v -timeout=${TIMEOUT} -count=1 -p=1 \
|
||||
-istio.test.env=kube -istio.test.hub=$(HUB) -istio.test.tag=$(TAG)
|
||||
doc.test: init | $(JUNIT_REPORT)
|
||||
@${GO} test ${REPO_ROOT}/tests/setup/... \
|
||||
-v -timeout=${TIMEOUT} -count=1 -p=1 \
|
||||
-istio.test.hub=$(HUB) \
|
||||
-istio.test.tag=$(TAG) \
|
||||
2>&1 | tee >($(JUNIT_REPORT) > $(JUNIT_OUT))
|
||||
|
||||
doc.test.help:
|
||||
@echo "The command \"make doc.test\" accepts three optional environment variables."
|
||||
|
|
|
|||
Loading…
Reference in New Issue