remove 'make cover-unit and make cover-integration'

They have been removed in favor of including a run variable in the 'make
cover' command, which is something that needed to be added anyway.
parent dbbd7627
......@@ -74,35 +74,17 @@ test:
test-v:
go test -race -v -short -tags='debug testing' -timeout=15s $(pkgs) -run=$(run)
test-long: clean fmt vet lint
go test -v -race -tags='testing debug' -timeout=10s $(pkgs) -run=$(run)
go test -v -race -tags='testing debug' -timeout=500s $(pkgs) -run=$(run)
bench: clean fmt
go test -tags='testing' -timeout=500s -run=XXX -bench=. $(pkgs)
cover: clean
@mkdir -p cover/modules
@mkdir -p cover/modules/renter
@mkdir -p cover/modules/host
@for package in $(pkgs); do \
go test -tags='testing debug' -timeout=500s -covermode=atomic -coverprofile=cover/$$package.out ./$$package \
&& go tool cover -html=cover/$$package.out -o=cover/$$package.html \
&& rm cover/$$package.out ; \
done
cover-integration: clean
@mkdir -p cover/modules
@mkdir -p cover/modules/renter
@mkdir -p cover/modules/host
@for package in $(pkgs); do \
go test -run=TestIntegration -tags='testing debug' -timeout=500s -covermode=atomic -coverprofile=cover/$$package.out ./$$package \
&& go tool cover -html=cover/$$package.out -o=cover/$$package.html \
&& rm cover/$$package.out ; \
done
cover-unit: clean
@mkdir -p cover/modules
@mkdir -p cover/modules/renter
@mkdir -p cover/modules/host
@for package in $(pkgs); do \
go test -run=TestUnit -tags='testing debug' -timeout=500s -covermode=atomic -coverprofile=cover/$$package.out ./$$package \
&& go tool cover -html=cover/$$package.out -o=cover/$$package.html \
&& rm cover/$$package.out ; \
@for package in $(pkgs); do \
go test -tags='testing debug' -timeout=500s -covermode=atomic -coverprofile=cover/$$package.out ./$$package -run=$(run) \
&& go tool cover -html=cover/$$package.out -o=cover/$$package.html \
&& rm cover/$$package.out ; \
done
# whitepaper builds the whitepaper from whitepaper.tex. pdflatex has to be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment