Enable code coverage reports

This will make the test print code coverage report once done in each directory
This commit is contained in:
Abhishek Chanda committed 2015-02-14 16:30:32 -08:00
1 parent a6f1435444
commit ed2d0d56a5
1 file changed
+2 -2
+2 -2
View File
@@ -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)