Makefile: don't run fmt-check in test/testrace

* this is now run on a different circle ci track
This commit is contained in:
Adrien Delorme 2019-05-27 15:42:58 +02:00
parent deb2212e9e
commit 5a0b5e3944
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ generate: install-gen-deps ## Generate dynamically generated code
goimports -w common/bootcommand/boot_command.go goimports -w common/bootcommand/boot_command.go
go fmt -w command/plugin.go go fmt -w command/plugin.go
test: fmt-check mode-check vet ## Run unit tests test: mode-check vet ## Run unit tests
@go test $(TEST) $(TESTARGS) -timeout=3m @go test $(TEST) $(TESTARGS) -timeout=3m
# testacc runs acceptance tests # testacc runs acceptance tests
@ -103,7 +103,7 @@ testacc: install-build-deps generate ## Run acceptance tests
@echo "WARN: Acceptance tests will take a long time to run and may cost money. Ctrl-C if you want to cancel." @echo "WARN: Acceptance tests will take a long time to run and may cost money. Ctrl-C if you want to cancel."
PACKER_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout=45m PACKER_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout=45m
testrace: fmt-check mode-check vet ## Test with race detection enabled testrace: mode-check vet ## Test with race detection enabled
@GO111MODULE=off go test -race $(TEST) $(TESTARGS) -timeout=3m -p=8 @GO111MODULE=off go test -race $(TEST) $(TESTARGS) -timeout=3m -p=8
check-vendor-vs-mod: ## Check that go modules and vendored code are on par check-vendor-vs-mod: ## Check that go modules and vendored code are on par