Skip to content

Commit

Permalink
Making race an option for sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
danmcp committed Feb 12, 2015
1 parent fcabd4d commit 58cdadd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ test: build check
endif
test:
hack/test-cmd.sh
hack/test-integration.sh $(GOFLAGS)
hack/test-integration-docker.sh $(GOFLAGS)
KUBE_RACE=" " hack/test-integration.sh $(GOFLAGS)
KUBE_RACE=" " hack/test-integration-docker.sh $(GOFLAGS)
hack/test-end-to-end.sh
.PHONY: test

Expand Down
2 changes: 1 addition & 1 deletion hack/test-integration-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ trap cleanup EXIT SIGINT
echo
echo Docker integration test cases ...
echo
KUBE_RACE=" " KUBE_COVER=" " "${OS_ROOT}/hack/test-go.sh" test/integration -tags 'integration docker' "${@:1}"
KUBE_RACE="${KUBE_RACE:-}" KUBE_COVER=" " "${OS_ROOT}/hack/test-go.sh" test/integration -tags 'integration docker' "${@:1}"
2 changes: 1 addition & 1 deletion hack/test-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ echo
echo Integration test cases ...
echo
# TODO: race is disabled because of origin #731
KUBE_RACE=" " KUBE_COVER=" " "${OS_ROOT}/hack/test-go.sh" test/integration -tags 'integration no-docker' "${@:1}"
KUBE_RACE="${KUBE_RACE:-}" KUBE_COVER=" " "${OS_ROOT}/hack/test-go.sh" test/integration -tags 'integration no-docker' "${@:1}"

0 comments on commit 58cdadd

Please sign in to comment.