summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-28 11:10:08 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-28 11:10:08 +0000
commita59c3731c3f68561b1b9aa015d59155976c7a6a3 (patch)
tree8a19c221b29f6c4df02442db518088c4406e6659 /make.tmpl.in
parent9e072e70723544190b5fbfbfae9e6683fcf5f644 (diff)
downloadlvm2-a59c3731c3f68561b1b9aa015d59155976c7a6a3.tar.gz
lvm2-a59c3731c3f68561b1b9aa015d59155976c7a6a3.tar.xz
lvm2-a59c3731c3f68561b1b9aa015d59155976c7a6a3.zip
Improve test suite
Add make help target. Add LVM_TEST_PARALLEL to support parallel runs of tests Work around the problem the dmsetup table/info may return error by using dmtable and dminfo function that will use 'should'. (Error happens when some concurently running process removes table entry while dmsetup command resolves table entries inside the loop.)
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 7643a7a9..0855d6a2 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -197,7 +197,7 @@ POTFILES = $(SOURCES:%.c=%.pot)
.PHONY: verity install_verity $(SUBDIRS.install_verity)
.PHONY: install install_cluster install_device-mapper install_lvm2
.PHONY: install_lib_shared install_dm_plugin install_lvm2_plugin
-.PHONY: install_ocf
+.PHONY: install_ocf help
.PHONY: $(SUBDIRS) $(SUBDIRS.install) $(SUBDIRS.clean) $(SUBDIRS.distclean)
.PHONY: $(SUBDIRS.pofile) $(SUBDIRS.install_cluster) $(SUBDIRS.cflow)
.PHONY: $(SUBDIRS.device-mapper) $(SUBDIRS.install-device-mapper)
@@ -401,7 +401,8 @@ distclean: cleandir $(SUBDIRS.distclean)
sed "s/^/ /;s/$$/;/" < $<; \
echo " local:"; echo " *;"; echo "};") > $@
-ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov))
+ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov \
+ help check check_local check_cluster check_lvmetad))
ifdef SOURCES
-include $(SOURCES:.c=.d)
endif