From c20262eb33b7134011ee2b7cc43599163f7251bd Mon Sep 17 00:00:00 2001 From: Krzysztof Siedlecki Date: Thu, 7 Feb 2019 12:04:43 +0100 Subject: [PATCH] adding FULL_LOG flag --- hack/jenkins/benchmark-dockerized.sh | 1 + hack/make-rules/test.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/hack/jenkins/benchmark-dockerized.sh b/hack/jenkins/benchmark-dockerized.sh index 60fde5fb309..22627ebd20e 100755 --- a/hack/jenkins/benchmark-dockerized.sh +++ b/hack/jenkins/benchmark-dockerized.sh @@ -41,6 +41,7 @@ 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 diff --git a/hack/make-rules/test.sh b/hack/make-rules/test.sh index 4d380c34092..d5c3661a33d 100755 --- a/hack/make-rules/test.sh +++ b/hack/make-rules/test.sh @@ -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