mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: separate lvmlockd tests with or without lvmetad
This commit is contained in:
parent
0c1d3db8db
commit
cd369d8a7f
@ -95,6 +95,7 @@ help:
|
||||
@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."
|
||||
@echo " check_lvmlockd_test_lvmetad Run tests with lvmlockd --test and lvmetad."
|
||||
@echo " run-unit-test Run only unit tests (root not needed)."
|
||||
@echo " clean Clean dir."
|
||||
@echo " help Display callable targets."
|
||||
@ -203,6 +204,13 @@ check_lvmlockd_test: .tests-stamp
|
||||
--flavours udev-lvmlockd-test --only $(T) --skip $(S)
|
||||
endif
|
||||
|
||||
ifeq ("@BUILD_LVMLOCKD@", "yes")
|
||||
check_lvmlockd_test_lvmetad: .tests-stamp
|
||||
VERBOSE=$(VERBOSE) ./lib/runner \
|
||||
--testdir . --outdir results \
|
||||
--flavours udev-lvmlockd-test-lvmetad --only $(T) --skip $(S)
|
||||
endif
|
||||
|
||||
run-unit-test unit-test:
|
||||
$(MAKE) -C unit $(@)
|
||||
|
||||
@ -224,6 +232,7 @@ LIB_FLAVOURS = \
|
||||
flavour-udev-lvmlockd-sanlock\
|
||||
flavour-udev-lvmlockd-dlm\
|
||||
flavour-udev-lvmlockd-test\
|
||||
flavour-udev-lvmlockd-test-lvmetad\
|
||||
flavour-udev-vanilla
|
||||
|
||||
LIB_LVMLOCKD_CONF = \
|
||||
|
@ -1,5 +1,4 @@
|
||||
export LVM_TEST_LOCKING=1
|
||||
export LVM_TEST_LVMETAD=1
|
||||
export LVM_TEST_LVMPOLLD=1
|
||||
export LVM_TEST_LVMLOCKD=1
|
||||
export LVM_TEST_LOCK_TYPE_DLM=1
|
||||
|
@ -1,5 +1,4 @@
|
||||
export LVM_TEST_LOCKING=1
|
||||
export LVM_TEST_LVMETAD=1
|
||||
export LVM_TEST_LVMPOLLD=1
|
||||
export LVM_TEST_LVMLOCKD=1
|
||||
export LVM_TEST_LOCK_TYPE_SANLOCK=1
|
||||
|
@ -1,5 +1,4 @@
|
||||
export LVM_TEST_LOCKING=1
|
||||
export LVM_TEST_LVMETAD=1
|
||||
export LVM_TEST_LVMPOLLD=1
|
||||
export LVM_TEST_LVMLOCKD=1
|
||||
export LVM_TEST_LVMLOCKD_TEST=1
|
||||
|
Loading…
Reference in New Issue
Block a user