projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 1652 to update osm_health increasing time_for_failure
[osm/devops.git]
/
descriptor-packages
/
mk
/
dirs.mk
diff --git
a/descriptor-packages/mk/dirs.mk
b/descriptor-packages/mk/dirs.mk
index
85a05e5
..
8e00787
100644
(file)
--- a/
descriptor-packages/mk/dirs.mk
+++ b/
descriptor-packages/mk/dirs.mk
@@
-14,7
+14,11
@@
# limitations under the License.
#
# limitations under the License.
#
+TOPDIR=$(shell readlink -f .|sed -e 's/\/descriptor-packages\/.*//')
+TOOLS_DIR := $(TOPDIR)/tools
+
SUBDIRS_CLEAN = $(addsuffix .clean, $(SUBDIRS))
SUBDIRS_CLEAN = $(addsuffix .clean, $(SUBDIRS))
+SUBDIRS_TEST = $(addsuffix .test, $(SUBDIRS))
.PHONY: $(SUBDIRS) $(SUBDIRS_CLEAN) clean
.PHONY: $(SUBDIRS) $(SUBDIRS_CLEAN) clean
@@
-22,8
+26,16
@@
all: $(SUBDIRS)
clean: $(SUBDIRS_CLEAN)
clean: $(SUBDIRS_CLEAN)
+test: $(SUBDIRS_TEST)
+
$(SUBDIRS_CLEAN): %.clean:
@$(MAKE) --no-print-directory -C $* clean
$(SUBDIRS_CLEAN): %.clean:
@$(MAKE) --no-print-directory -C $* clean
+$(SUBDIRS_TEST): %.test:
+ @$(MAKE) --no-print-directory -C $* test
+
$(SUBDIRS):
@$(MAKE) --no-print-directory -C $@
$(SUBDIRS):
@$(MAKE) --no-print-directory -C $@
+
+test:
+ $(TOOLS_DIR)/launch_tests.sh