Skip to content

Commit

Permalink
Fix make test-integration for workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Mar 1, 2024
1 parent 4b20f81 commit 5a96a56
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions hack/make-rules/test-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ KUBE_TEST_VMODULE=${KUBE_TEST_VMODULE:-""}
kube::test::find_integration_test_dirs() {
(
cd "${KUBE_ROOT}"
find test/integration/ -name '*_test.go' -print0 \
| xargs -0n1 dirname | sed "s|^|${KUBE_GO_PACKAGE}/|" \
# The "./" syntax here produces Go-compatible package names.
find ./test/integration/ -name '*_test.go' -print0 \
| xargs -0n1 dirname \
| LC_ALL=C sort -u
find staging/src/k8s.io/apiextensions-apiserver/test/integration/ -name '*_test.go' -print0 \
| xargs -0n1 dirname | sed "s|^|${KUBE_GO_PACKAGE}/|" \
find ./staging/src/k8s.io/apiextensions-apiserver/test/integration/ -name '*_test.go' -print0 \
| xargs -0n1 dirname \
| LC_ALL=C sort -u
)
}
Expand Down

0 comments on commit 5a96a56

Please sign in to comment.