mirror of
https://github.com/octoleo/restic.git
synced 2025-04-06 15:21:49 +00:00
Test with race detection
This commit is contained in:
parent
d66996e648
commit
972c1d5771
4
Makefile
4
Makefile
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user