Fix make test-integration for workspaces
This commit is contained in:
parent
4b20f81c19
commit
5a96a56c80
@ -46,11 +46,12 @@ KUBE_TEST_VMODULE=${KUBE_TEST_VMODULE:-""}
|
|||||||
kube::test::find_integration_test_dirs() {
|
kube::test::find_integration_test_dirs() {
|
||||||
(
|
(
|
||||||
cd "${KUBE_ROOT}"
|
cd "${KUBE_ROOT}"
|
||||||
find test/integration/ -name '*_test.go' -print0 \
|
# The "./" syntax here produces Go-compatible package names.
|
||||||
| xargs -0n1 dirname | sed "s|^|${KUBE_GO_PACKAGE}/|" \
|
find ./test/integration/ -name '*_test.go' -print0 \
|
||||||
|
| xargs -0n1 dirname \
|
||||||
| LC_ALL=C sort -u
|
| LC_ALL=C sort -u
|
||||||
find staging/src/k8s.io/apiextensions-apiserver/test/integration/ -name '*_test.go' -print0 \
|
find ./staging/src/k8s.io/apiextensions-apiserver/test/integration/ -name '*_test.go' -print0 \
|
||||||
| xargs -0n1 dirname | sed "s|^|${KUBE_GO_PACKAGE}/|" \
|
| xargs -0n1 dirname \
|
||||||
| LC_ALL=C sort -u
|
| LC_ALL=C sort -u
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user