From 553053afd995fc42eec52feb9dde43521832d38c Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 24 Nov 2014 22:19:48 +0100 Subject: [PATCH] Remove race detector from tests --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c58519465..0e35157b8 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,11 @@ .PHONY: clean all test +FLAGS= +#FLAGS+=-race + test: for dir in cmd/* ; do \ - (cd "$$dir"; go build -race) \ + (cd "$$dir"; go build $(FLAGS)) \ done test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff