mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
makefiles: skip lvmetad tests
When build without lvmetad, skip n/udev-lvmetad flavour execution. Update help test.
This commit is contained in:
parent
d5651f44e3
commit
ee6fc17663
@ -52,6 +52,8 @@ RUN_BASE = $(subst $(srcdir)/,,$(RUN))
|
||||
|
||||
ifeq ("@BUILD_LVMETAD@", "yes")
|
||||
LVMETAD_RUN_BASE = $(RUN_BASE)
|
||||
LVMETAD_NDEV_FLAVOUR = ,ndev-lvmetad
|
||||
LVMETAD_UDEV_FLAVOUR = ,udev-lvmetad
|
||||
endif
|
||||
|
||||
|
||||
@ -91,10 +93,12 @@ help:
|
||||
@echo " LVM_TEST_CACHE_REPAIR_CMD Command for cache_repair [$(LVM_TEST_CACHE_REPAIR_CMD)]."
|
||||
@echo " LVM_TEST_CACHE_RESTORE_CMD Command for cache_restore [$(LVM_TEST_CACHE_RESTORE_CMD)]."
|
||||
@echo " LVM_TEST_UNLIMITED Set to get unlimited test log (>32MB)"
|
||||
@echo " LVM_VALGRIND Enable valgrind testing (1,2,3) execs $$"VALGRIND
|
||||
@echo " LVM_VALGRIND Enable valgrind testing, execs $$"VALGRIND.
|
||||
@echo " LVM_VALGRIND_CLVMD Enable valgrind testing of clvmd (1)."
|
||||
@echo " LVM_VALGRIND_DMEVENTD Enable valgrind testing of dmeventd (1)."
|
||||
@echo " LVM_VALGRIND_LVMETAD Enable valgrind testing of lvmetad (1)."
|
||||
@echo " LVM_STRACE Enable strace logging."
|
||||
@echo " LVM_DEBUG_LEVEL Sets debuging level for valgrind/strace (use > 0)."
|
||||
@echo " LVM_VERIFY_UDEV Default verify state for lvm.conf."
|
||||
@echo " S Skip given test (regex)."
|
||||
@echo " T Run given test (regex)."
|
||||
@ -103,12 +107,12 @@ help:
|
||||
check: .tests-stamp
|
||||
VERBOSE=$(VERBOSE) ./lib/runner \
|
||||
--testdir . --outdir $(LVM_TEST_RESULTS) \
|
||||
--flavours ndev-vanilla,ndev-cluster,ndev-lvmetad --only $(T) --skip $(S)
|
||||
--flavours ndev-vanilla,ndev-cluster$(LVMETAD_NDEV_FLAVOUR) --only $(T) --skip $(S)
|
||||
|
||||
check_system: .tests-stamp
|
||||
VERBOSE=$(VERBOSE) ./lib/runner \
|
||||
--testdir . --outdir $(LVM_TEST_RESULTS) \
|
||||
--flavours udev-vanilla,udev-cluster,udev-lvmetad --only $(T) --skip $(S)
|
||||
--flavours udev-vanilla,udev-cluster$(LVMETAD_UDEV_FLAVOUR) --only $(T) --skip $(S)
|
||||
|
||||
check_cluster: .tests-stamp
|
||||
VERBOSE=$(VERBOSE) ./lib/runner \
|
||||
|
Loading…
x
Reference in New Issue
Block a user