1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: makefile build proper tools list

Add compiled components to the list.
This commit is contained in:
Zdenek Kabelac 2023-07-11 15:48:15 +02:00
parent 4d70e7bf78
commit a51c68aacb

View File

@ -53,15 +53,25 @@ comma = ,
RUN := $(shell find -L $(srcdir) -regextype posix-egrep \( -path \*/shell/\*.sh -or -path \*/api/\*.sh -or -path \*/unit/\*.sh \) -and -regex "$(srcdir)/.*($(subst $(comma),|,$(T))).*" -and -not -regex "$(srcdir)/.*($(subst $(comma),|,$(S))).*" | $(SORT))
RUN_BASE = $(subst $(srcdir)/,,$(RUN))
ifeq ("@BUILD_DMEVENTD@", "yes")
DMEVENTD_TOOLS :=\
daemons/dmeventd/dmeventd
endif
ifeq ("@BUILD_LVMPOLLD@", "yes")
LVMPOLLD_RUN_BASE = $(RUN_BASE)
LVMPOLLD_NDEV_FLAVOUR = ,ndev-lvmpolld
LVMPOLLD_UDEV_FLAVOUR = ,udev-lvmpolld
LVMPOLLD_TOOLS :=\
daemons/lvmpolld/lvmpolld
endif
ifeq ("@BUILD_LVMLOCKD@", "yes")
LVMLOCKD_RUN_BASE = $(RUN_BASE)
LVMLOCKD_UDEV_FLAVOUR = ,udev-lvmlockd-test
LVMLOCKD_TOOLS :=\
daemons/lvmlockd/lvmlockd\
daemons/lvmlockd/lvmlockctl
endif
# Shell quote;
@ -204,9 +214,10 @@ LIB_LVMLOCKD_CONF :=\
LIB_MKE2FS_CONF := mke2fs.conf
LVM_TOOLS :=\
daemons/dmeventd/dmeventd\
daemons/lvmpolld/lvmpolld\
LVM_TOOLS := \
$(LVMPOLLD_TOOLS)\
$(LVMLOCKD_TOOLS)\
$(DMEVENTD_TOOLS)\
libdm/dm-tools/dmsetup
LVM_PROFILES := $(addsuffix .profile,\