mirror of https://gitee.com/openkylin/libvirt.git
tests: build: Remove duplicate libvirtd test list
Store the test list in libvirtd_test_scripts, and use it where appropriate. This also fixes the fact that we didn't ship virsh-uriprecedence when libvirtd build is disabled.
This commit is contained in:
parent
3cc2a9e0d4
commit
af9d6b1c8c
|
@ -367,8 +367,7 @@ test_scripts = \
|
||||||
domainsnapshotschematest \
|
domainsnapshotschematest \
|
||||||
secretschematest
|
secretschematest
|
||||||
|
|
||||||
if WITH_LIBVIRTD
|
libvirtd_test_scripts = \
|
||||||
test_scripts += \
|
|
||||||
test_conf.sh \
|
test_conf.sh \
|
||||||
cpuset \
|
cpuset \
|
||||||
define-dev-segfault \
|
define-dev-segfault \
|
||||||
|
@ -387,27 +386,14 @@ test_scripts += \
|
||||||
virsh-undefine \
|
virsh-undefine \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
if WITH_LIBVIRTD
|
||||||
|
test_scripts += $(libvirtd_test_scripts)
|
||||||
|
|
||||||
test_programs += \
|
test_programs += \
|
||||||
eventtest \
|
eventtest \
|
||||||
libvirtdconftest
|
libvirtdconftest
|
||||||
else ! WITH_LIBVIRTD
|
else ! WITH_LIBVIRTD
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += $(libvirtd_test_scripts)
|
||||||
test_conf.sh \
|
|
||||||
cpuset \
|
|
||||||
define-dev-segfault \
|
|
||||||
int-overflow \
|
|
||||||
libvirtd-fail \
|
|
||||||
libvirtd-pool \
|
|
||||||
read-bufsiz \
|
|
||||||
read-non-seekable \
|
|
||||||
start \
|
|
||||||
vcpupin \
|
|
||||||
virsh-all \
|
|
||||||
virsh-optparse \
|
|
||||||
virsh-schedinfo \
|
|
||||||
virsh-synopsis \
|
|
||||||
virsh-undefine \
|
|
||||||
$(NULL)
|
|
||||||
endif ! WITH_LIBVIRTD
|
endif ! WITH_LIBVIRTD
|
||||||
|
|
||||||
test_programs += objecteventtest
|
test_programs += objecteventtest
|
||||||
|
|
Loading…
Reference in New Issue