From 1af4b9ae776fbf0d78ec11e3e018eb2104f63652 Mon Sep 17 00:00:00 2001 From: Michelle Noorali Date: Mon, 1 Feb 2016 00:07:25 -0500 Subject: [PATCH] add test targets in makefiles to run local tests --- Makefile | 3 +++ expandybird/Makefile | 2 ++ manager/Makefile | 2 ++ resourcifier/Makefile | 3 +++ 4 files changed, 10 insertions(+) diff --git a/Makefile b/Makefile index ccc9d537b..5d8ee70d2 100644 --- a/Makefile +++ b/Makefile @@ -48,3 +48,6 @@ $(TARGETS) : % : $(addsuffix %,$(SUBDIRS)) $(SUBDIRS_TARGETS) : $(MAKE) -C $(@D) $(@F:.%=%) + +test: + go test -v ./... diff --git a/expandybird/Makefile b/expandybird/Makefile index 77cbec02b..4e4644625 100644 --- a/expandybird/Makefile +++ b/expandybird/Makefile @@ -47,3 +47,5 @@ clean: -docker rmi $(PREFIX)/$(IMAGE):$(TAG) rm -f expandybird +test: + go test -v ./... diff --git a/manager/Makefile b/manager/Makefile index be9da45c3..573c97f95 100644 --- a/manager/Makefile +++ b/manager/Makefile @@ -41,3 +41,5 @@ container: clean: -docker rmi $(PREFIX)/$(IMAGE):$(TAG) +test: + go test -v ./... diff --git a/resourcifier/Makefile b/resourcifier/Makefile index 2a04fecab..a9d75734f 100644 --- a/resourcifier/Makefile +++ b/resourcifier/Makefile @@ -42,3 +42,6 @@ container: clean: -docker rmi $(PREFIX)/$(IMAGE):$(TAG) + +test: + go test -v ./...