From 5a0b5e3944a1bb846b8a16a44a268aca4badc9e1 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 27 May 2019 15:42:58 +0200 Subject: [PATCH] Makefile: don't run fmt-check in test/testrace * this is now run on a different circle ci track --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5c4067fd3..5dbdeaf3d 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ generate: install-gen-deps ## Generate dynamically generated code goimports -w common/bootcommand/boot_command.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 # 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." 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 check-vendor-vs-mod: ## Check that go modules and vendored code are on par