Commit c1f45652 authored by Klaus Ma's avatar Klaus Ma

Moved _pkg to embeded script.

parent 31483bf5
...@@ -263,14 +263,14 @@ runTests() { ...@@ -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}\"" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment