forked from TrueCloudLab/restic
Test with race detection
This commit is contained in:
parent
d66996e648
commit
972c1d5771
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue