Add run-smoketests target to Makefile

This commit is contained in:
Adam Harrison committed 2015-05-21 11:40:12 +01:00
1 parent 449bf45c2b
commit 387ec3fdd5
1 file changed
+4 -1
+4 -1
View File
@@ -1,7 +1,7 @@
PUBLISH=publish_weave publish_weavedns publish_weaveexec
.DEFAULT: all
.PHONY: all update tests publish $(PUBLISH) clean prerequisites build travis
.PHONY: all update tests publish $(PUBLISH) clean prerequisites build travis run-smoketests
# If you can use docker without being root, you can do "make SUDO="
SUDO=sudo
@@ -104,3 +104,6 @@ build:
$(SUDO) go clean -i net
$(SUDO) go install -tags netgo std
$(MAKE)
run-smoketests: all
cd test && ./setup.sh && ./run_all.sh