mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #39859 from k82cn/test_script
Automatic merge from submit-queue (batch tested with PRs 39947, 39936, 39902, 39859, 39915) Moved _pkg to embeded script. fixes #39840
This commit is contained in:
commit
17a6f41367
@ -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}\"" \
|
||||||
|
Loading…
Reference in New Issue
Block a user