diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -70,10 +70,12 @@ build-awwan-test: ## time without rebuilding again. .PHONY: test-integration +test-integration: CGO_ENABLED=1 test-integration: - go test -tags=integration -c . + go test -race -tags=integration -c . machinectl shell awwan@awwan-test \ - /bin/sh -c "cd src; ./awwan.test" + /bin/sh -c "cd src; \ + ./awwan.test -test.failfast -test.timeout=2m -test.v" .PHONY: test-all test-all: CGO_ENABLED=1 @@ -85,7 +87,7 @@ test-all: go test -failfast -timeout=2m -race \ -coverprofile=$(COVER_OUT) \ -tags=integration \ - ./... + ./..." go tool cover -html=$(COVER_OUT) -o $(COVER_HTML) #}}} |
