Moved _pkg to embeded script.

pull/6/head
Klaus Ma 2017-01-13 16:03:19 +08:00
parent 31483bf546
commit c1f4565293
1 changed files with 2 additions and 2 deletions

View File

@ -263,14 +263,14 @@ runTests() {
${KUBE_TIMEOUT} \ ${KUBE_TIMEOUT} \
-cover -covermode=\"${KUBE_COVERMODE}\" \ -cover -covermode=\"${KUBE_COVERMODE}\" \
-coverprofile=\"${cover_report_dir}/\${_pkg}/${cover_profile}\" \ -coverprofile=\"${cover_report_dir}/\${_pkg}/${cover_profile}\" \
\"${_pkg}\" \ \"\${_pkg}\" \
${testargs[@]:+${testargs[@]}} ${testargs[@]:+${testargs[@]}}
go test ${goflags[@]:+${goflags[@]}} \ go test ${goflags[@]:+${goflags[@]}} \
${KUBE_RACE} \ ${KUBE_RACE} \
${KUBE_TIMEOUT} \ ${KUBE_TIMEOUT} \
-cover -covermode=\"${KUBE_COVERMODE}\" \ -cover -covermode=\"${KUBE_COVERMODE}\" \
-coverprofile=\"${cover_report_dir}/\${_pkg}/${cover_profile}\" \ -coverprofile=\"${cover_report_dir}/\${_pkg}/${cover_profile}\" \
\"${_pkg}\" \ \"\${_pkg}\" \
${testargs[@]:+${testargs[@]}} \ ${testargs[@]:+${testargs[@]}} \
| tee ${junit_filename_prefix:+\"${junit_filename_prefix}-\$_pkg_out.stdout\"} \ | tee ${junit_filename_prefix:+\"${junit_filename_prefix}-\$_pkg_out.stdout\"} \
| grep \"${go_test_grep_pattern}\"" \ | grep \"${go_test_grep_pattern}\"" \