summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-10-17 11:13:43 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-11-11 16:58:20 +0100
commit4a2250f9cea300598fff8dbfee8700ac7aa81f89 (patch)
tree734a3739ef342675c12da8b4c3e6381e16d407da
parentd8fc4d093ee125e3667046b892c14e4a920a8da0 (diff)
downloadlvm2-4a2250f9cea300598fff8dbfee8700ac7aa81f89.tar.gz
tests: update make targets
Add new targets: make check_lvmpolld make check_cluster_lvmpolld make check_lvmetad_lvmpolld make check_all_lvmpolld So check_lvmetad runs only base lvmetad test - to much logic of remaining targets. Previous behavior is available via check_all_lvmpolld.
-rw-r--r--test/Makefile.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 94b3105d8..bc501d16e 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -77,6 +77,9 @@ help:
@echo " check_cluster Run tests with cluster daemon."
@echo " check_lvmetad Run tests with lvmetad daemon."
@echo " check_lvmpolld Run tests with lvmpolld daemon."
+ @echo " check_cluster_lvmpolld Run tests with clvmd and lvmpolld daemon."
+ @echo " check_lvmetad_lvmpolld Run tests with lvmetad and lvmpolld daemon."
+ @echo " check_all_lvmpolld Run all tests with lvmpolld daemon."
@echo " check_lvmlockd_sanlock Run tests with lvmlockd and sanlock."
@echo " check_lvmlockd_dlm Run tests with lvmlockd and dlm."
@echo " check_lvmlockd_test Run tests with lvmlockd --test."
@@ -146,6 +149,21 @@ ifeq ("@BUILD_LVMPOLLD@", "yes")
check_lvmpolld: .tests-stamp
VERBOSE=$(VERBOSE) ./lib/runner \
--testdir . --outdir results \
+ --flavours ndev-lvmpolld --only $(T) --skip $(S)
+
+check_cluster_lvmpolld: .tests-stamp
+ VERBOSE=$(VERBOSE) ./lib/runner \
+ --testdir . --outdir results \
+ --flavours ndev-cluster-lvmpolld --only $(T) --skip $(S)
+
+check_lvmetad_lvmpolld: .tests-stamp
+ VERBOSE=$(VERBOSE) ./lib/runner \
+ --testdir . --outdir results \
+ --flavours ndev-lvmetad-lvmpolld --only $(T) --skip $(S)
+
+check_all_lvmpolld: .tests-stamp
+ VERBOSE=$(VERBOSE) ./lib/runner \
+ --testdir . --outdir results \
--flavours ndev-lvmpolld,ndev-cluster-lvmpolld,ndev-lvmetad-lvmpolld --only $(T) --skip $(S)
endif