From 972c1d5771bec69bcdd1f7c8f0e9149d590d29a1 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 11 Aug 2014 23:18:03 +0200 Subject: [PATCH] Test with race detection --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4cb208199..4fe52765b 100644 --- a/Makefile +++ b/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