Browse Source

do we really have to build in order to test?

pull/383/head
Anton Kaliaev 8 years ago
parent
commit
65dfacac4b
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@ -20,18 +20,18 @@ build_race:
dist: dist:
@BUILD_TAGS='$(BUILD_TAGS)' sh -c "'$(CURDIR)/scripts/dist.sh'" @BUILD_TAGS='$(BUILD_TAGS)' sh -c "'$(CURDIR)/scripts/dist.sh'"
test: build
test:
@echo "--> Running go test" @echo "--> Running go test"
@go test $(PACKAGES) @go test $(PACKAGES)
test_race: build
test_race:
@echo "--> Running go test --race" @echo "--> Running go test --race"
@go test -race $(PACKAGES) @go test -race $(PACKAGES)
test_integrations: test_integrations:
@bash ./test/test.sh @bash ./test/test.sh
test100: build
test100:
@for i in {1..100}; do make test; done @for i in {1..100}; do make test; done
draw_deps: draw_deps:


Loading…
Cancel
Save