diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.PHONY: build run test vet lint clean +.PHONY: build run test test-race vet lint clean BINARY=thoi DATA_DIR=$(PWD)/data @@ -12,6 +12,10 @@ run: build test: DATA_DIR=$(DATA_DIR) go test ./... -timeout 60s +# Race suite: the concurrency tests are only meaningful with -race. +test-race: + DATA_DIR=$(DATA_DIR) go test -race ./... -timeout 300s + vet: go vet ./... |
