Use recursive go test instead of naming directories individually

This commit is contained in:
Tom Wilkie committed 2015-03-31 13:33:36 +00:00
1 parent 10f37db9da
commit 592be90904
1 file changed
+1 -3
+1 -3
View File
@@ -58,10 +58,8 @@ $(WEAVEEXEC_EXPORT): weaveexec/Dockerfile $(DOCKER_DISTRIB) weave
$(DOCKER_DISTRIB):
curl -o $(DOCKER_DISTRIB) $(DOCKER_DISTRIB_URL)
# Add more directories in here as more tests are created
tests:
cd router; go test -cover -tags netgo
cd nameserver; go test -cover -tags netgo
go test -cover -tags netgo ./...
$(PUBLISH): publish_%:
$(SUDO) docker tag -f $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION)