Adding cluster-issuer annotation for TLS provisioning
[osm/devops.git] / descriptor-packages / mk / dirs.mk
index 85a05e5..8e00787 100644 (file)
 #   limitations under the License.
 #
 
+TOPDIR=$(shell readlink -f .|sed -e 's/\/descriptor-packages\/.*//')
+TOOLS_DIR := $(TOPDIR)/tools
+
 SUBDIRS_CLEAN = $(addsuffix .clean, $(SUBDIRS))
+SUBDIRS_TEST = $(addsuffix .test, $(SUBDIRS))
 
 .PHONY: $(SUBDIRS) $(SUBDIRS_CLEAN) clean
 
@@ -22,8 +26,16 @@ all: $(SUBDIRS)
 
 clean: $(SUBDIRS_CLEAN)
 
+test: $(SUBDIRS_TEST)
+
 $(SUBDIRS_CLEAN): %.clean:
        @$(MAKE) --no-print-directory -C $* clean
 
+$(SUBDIRS_TEST): %.test:
+       @$(MAKE) --no-print-directory -C $* test
+
 $(SUBDIRS):
        @$(MAKE) --no-print-directory -C $@
+
+test:
+       $(TOOLS_DIR)/launch_tests.sh