mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 02:56:25 +08:00
Only test with -race using go latest
This commit is contained in:
parent
eaa717b88a
commit
54e37be591
2
Makefile
2
Makefile
|
@ -38,7 +38,9 @@ test: rclone
|
||||||
# Quick test
|
# Quick test
|
||||||
quicktest:
|
quicktest:
|
||||||
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) $(GO_FILES)
|
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) $(GO_FILES)
|
||||||
|
ifdef GO_LATEST
|
||||||
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) -cpu=2 -race $(GO_FILES)
|
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) -cpu=2 -race $(GO_FILES)
|
||||||
|
endif
|
||||||
|
|
||||||
# Do source code quality checks
|
# Do source code quality checks
|
||||||
check: rclone
|
check: rclone
|
||||||
|
|
Loading…
Reference in New Issue
Block a user