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
|
.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…
Reference in a new issue