1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-24 08:32:53 +00:00

Only test with -race using go latest

This commit is contained in:
Nick Craig-Wood
2017-06-19 08:07:50 +01:00
parent eaa717b88a
commit 54e37be591

View File

@@ -38,7 +38,9 @@ test: rclone
# Quick test
quicktest:
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) $(GO_FILES)
ifdef GO_LATEST
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) -cpu=2 -race $(GO_FILES)
endif
# Do source code quality checks
check: rclone