File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export PROTOC?=protoc
88export RM? =rm
99export SED? =sed
1010export SH? =sh
11+ export TESTCOUNT? =1
12+ export VERBOSE? =0
1113export XARGS? =xargs
1214ifeq ($(OS ) ,Windows_NT)
1315 export BROWSER?=start
6163 @BUILD_TAGS=' $(BUILD_TAGS)' $(SH ) -c " '$( CURDIR) /scripts/dist.sh'"
6264
6365test : buildtests
64- $(GLIDE ) novendor | $(GREP ) -v -e " ^\.$$ " | CGO_ENABLED=1 $(XARGS ) $(GO ) test -run " Test.*" -count=1 -tags test -race -timeout 600s
66+ $(GLIDE ) novendor | $(GREP ) -v -e " ^\.$$ " | CGO_ENABLED=1 $(XARGS ) $(GO ) test -run " Test.*" -count=$( TESTCOUNT ) -v= $( VERBOSE ) -tags test -race -timeout 600s
6567
6668cover :
6769 $(GLIDE ) novendor | $(GREP ) -v -e " ^\.$$ " | CGO_ENABLED=1 $(XARGS ) $(GO ) test -run " Test.*" -coverprofile=coverage.out -count=1 -tags test -race -timeout 600s || true
You can’t perform that action at this time.
0 commit comments