Test with race detection

This commit is contained in:
Alexander Neumann 2014-08-11 23:18:03 +02:00
parent d66996e648
commit 972c1d5771
1 changed files with 2 additions and 2 deletions

View File

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