kubernetes/hack/make-rules
Tim Hockin f3c8e92def
Clean up test.sh and get rid of GOPATH
Result: `make test` works:

```
$ #### BUILD ####

$ make WHAT="./cmd/kubectl/ ./staging/src/k8s.io/api"
+++ [1211 11:20:46] Building go targets for linux/amd64
    ./cmd/kubectl/ (non-static)
    ./staging/src/k8s.io/api (non-static)

$ #### TEST ####

$ make test WHAT=./pkg/proxy/iptables/
+++ [1211 11:22:31] Set GOMAXPROCS automatically to 6
+++ [1211 11:22:31] Running tests without code coverage and with -race
ok  	k8s.io/kubernetes/pkg/proxy/iptables	9.517s

$ make test WHAT=pkg/proxy/iptables/
+++ [1211 11:22:53] Set GOMAXPROCS automatically to 6
+++ [1211 11:22:53] Running tests without code coverage and with -race
ok  	k8s.io/kubernetes/pkg/proxy/iptables	(cached)

$ make test WHAT=k8s.io/kubernetes/pkg/proxy/iptables/
+++ [1211 11:23:09] Set GOMAXPROCS automatically to 6
+++ [1211 11:23:09] Running tests without code coverage and with -race
ok  	k8s.io/kubernetes/pkg/proxy/iptables	(cached)

$ make test WHAT=./staging/src/k8s.io/api
+++ [1211 11:23:24] Set GOMAXPROCS automatically to 6
+++ [1211 11:23:24] Running tests without code coverage and with -race
ok  	k8s.io/api	21.981s

$ make test WHAT=staging/src/k8s.io/api
+++ [1211 11:23:54] Set GOMAXPROCS automatically to 6
+++ [1211 11:23:54] Running tests without code coverage and with -race
ok  	k8s.io/api	(cached)

$ make test WHAT=k8s.io/api
+++ [1211 11:24:06] Set GOMAXPROCS automatically to 6
+++ [1211 11:24:06] Running tests without code coverage and with -race
ok  	k8s.io/api	(cached)
```
2024-02-29 00:22:13 -08:00
..
build.sh fix shellcheck in hack/make-rules/... 2019-02-26 00:56:36 -05:00
clean.sh Simpler and less noisy make-clean 2023-12-08 09:20:44 -08:00
cross.sh fix shellcheck in hack/make-rules/... 2019-02-26 00:56:36 -05:00
make-help.sh avoid masking return values in hack/make-rules/make-help.sh 2022-10-19 23:46:18 -07:00
test-cmd.sh Lock ServerSideApply feature to true 2022-09-27 13:48:28 +02:00
test-e2e-node.sh Change the build_binaries path to use modules 2024-02-29 00:22:07 -08:00
test-integration.sh Re-add KUBE_TIMEOUT explicitly to make test 2024-02-26 15:46:38 -08:00
test.sh Clean up test.sh and get rid of GOPATH 2024-02-29 00:22:13 -08:00
update.sh Generate go.work files 2024-02-29 00:22:06 -08:00
verify.sh golangci-lint: optionally skip it during "make verify", II 2024-02-16 10:07:51 +01:00
vet.sh staging: fix "go vet" issues 2023-03-03 07:51:04 +01:00