Merge pull request #73581 from krzysied/test_KUBE_JUNIT_REPORT_DIR_revert

KUBE_JUNIT_REPORT_DIR fixes
pull/564/head
Kubernetes Prow Robot 2019-02-08 02:39:14 -08:00 committed by GitHub
commit 999e2e0ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -34,12 +34,14 @@ retry() {
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
go install k8s.io/kubernetes/vendor/github.com/cespare/prettybench
go install k8s.io/kubernetes/vendor/github.com/jstemmer/go-junit-report
# Disable the Go race detector.
export KUBE_RACE=" "
# Disable coverage report
export KUBE_COVER="n"
export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
export FULL_LOG="true"
mkdir -p "${ARTIFACTS}"
cd /go/src/k8s.io/kubernetes

View File

@ -188,6 +188,10 @@ if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then
go_test_grep_pattern="^[^[:space:]]\+[[:space:]]\+[^[:space:]]\+/[^[[:space:]]\+"
fi
if [[ -n "${FULL_LOG:-}" ]] ; then
go_test_grep_pattern=".*"
fi
# Filter out arguments that start with "-" and move them to goflags.
testcases=()
for arg; do