2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

Test with race detection

This commit is contained in:
Alexander Neumann 2014-08-11 23:18:03 +02:00
parent d66996e648
commit 972c1d5771

View File

@ -1,9 +1,9 @@
.PHONY: clean all test .PHONY: clean all test
test: test:
go test go test -race
for dir in cmd/* ; do \ for dir in cmd/* ; do \
(cd "$$dir"; go build) \ (cd "$$dir"; go build -race) \
done done
test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff