diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 533f0d5432..13aa6d2b40 --- a/Makefile +++ b/Makefile @@ -113,7 +113,7 @@ endif .PHONY: e2e-%-amd64 e2e-%-amd64: - GOOS=$* GOARCH=amd64 go test -c k8s.io/minikube/test/integration --tags=integration -o out/$@ + GOOS=$* GOARCH=amd64 go test -c k8s.io/minikube/test/integration --tags="integration container_image_ostree_stub containers_image_openpgp" -o out/$@ e2e-windows-amd64.exe: e2e-windows-amd64 mv $(BUILD_DIR)/e2e-windows-amd64 $(BUILD_DIR)/e2e-windows-amd64.exe diff --git a/test.sh b/test.sh index e4b600d906..64bb8e55d5 100755 --- a/test.sh +++ b/test.sh @@ -35,7 +35,7 @@ cd ${GOPATH}/src/${REPO_PATH} rm -f out/$COV_FILE echo "mode: count" > out/$COV_FILE for pkg in $(go list -f '{{ if .TestGoFiles }} {{.ImportPath}} {{end}}' ./...); do - go test -v $pkg -covermode=count -coverprofile=out/$COV_TMP_FILE + go test -tags "container_image_ostree_stub containers_image_openpgp" -v $pkg -covermode=count -coverprofile=out/$COV_TMP_FILE # tail -n +2 skips the first line of the file # for coverprofile the first line is the `mode: count` line which we only want once in our file tail -n +2 out/$COV_TMP_FILE >> out/$COV_FILE || (echo "Unable to append coverage for $pkg" && exit 1)