Merge pull request #41664 from ixdy/make-test-bazel

Automatic merge from submit-queue (batch tested with PRs 41401, 41195, 41664, 41521, 41651)

Ignore bazel-* directories when looking for tests to run

**What this PR does / why we need it**: if you do a Bazel build and then try to run `make test` without `bazel clean`, the test script blows up. cc @cheftako

**Special notes for your reviewer**: there are probably other scripts (e.g. some of `hack/verify-*`) that mishandle the bazel-* convenience symlinks, but I'm not sure if it's worth the effort to fix those unless people complain.

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2017-02-17 19:46:41 -08:00 committed by GitHub
commit a574c85e60

View File

@ -33,6 +33,7 @@ kube::test::find_dirs() {
find -L . -not \( \
\( \
-path './_artifacts/*' \
-o -path './bazel-*/*' \
-o -path './_output/*' \
-o -path './_gopath/*' \
-o -path './cmd/kubeadm/test/*' \