Merge pull request #625 from smarterclayton/quotes_not_necessary
The quotes around the coverfile are unnecessary
This commit is contained in:
commit
b3ecfbde43
@ -36,10 +36,10 @@ cd "${KUBE_TARGET}"
|
||||
echo "+++ Running unit tests"
|
||||
|
||||
if [[ -n "$1" ]]; then
|
||||
go test -cover -coverprofile="tmp.out" "$KUBE_GO_PACKAGE/$1"
|
||||
go test -cover -coverprofile=tmp.out "$KUBE_GO_PACKAGE/$1"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for package in $(find_test_dirs); do
|
||||
go test -cover -coverprofile="tmp.out" "${KUBE_GO_PACKAGE}/${package}"
|
||||
go test -cover -coverprofile=tmp.out "${KUBE_GO_PACKAGE}/${package}"
|
||||
done
|
||||
|
@ -36,7 +36,7 @@ find_test_dirs() {
|
||||
}
|
||||
|
||||
# -covermode=atomic becomes default with -race in Go >=1.3
|
||||
KUBE_COVER="-cover -covermode=atomic -coverprofile=\"tmp.out\""
|
||||
KUBE_COVER="-cover -covermode=atomic -coverprofile=tmp.out"
|
||||
|
||||
cd "${KUBE_TARGET}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user