From ed2d0d56a51fca0f83d7e0932f1c04cf8908ba28 Mon Sep 17 00:00:00 2001 From: Abhishek Chanda Date: Sat, 14 Feb 2015 16:30:32 -0800 Subject: [PATCH] Enable code coverage reports This will make the test print code coverage report once done in each directory --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2719489d..7db3fad9 100644 --- a/Makefile +++ b/Makefile @@ -55,8 +55,8 @@ $(WEAVETOOLS_EXPORT): tools/Dockerfile $(WEAVETOOLS_EXES) # Add more directories in here as more tests are created tests: - cd router; go test -tags netgo - cd nameserver; go test -tags netgo + cd router; go test -cover -tags netgo + cd nameserver; go test -cover -tags netgo $(PUBLISH): publish_%: $(SUDO) docker tag -f $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION)