aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2010-08-10 14:38:57 +0200
committerDiego Elio Pettenò <flameeyes@gmail.com>2010-08-10 15:42:15 +0200
commit2fa0c2d1f1dc5fe26ee545458057123145315477 (patch)
treed638436745a540ff9b305c75c775920b2b77b76d
parentbuild-sys: fix build when daemon is disabled by not installing (diff)
downloadlibvirt-v0.8.3-gentoo.tar.gz
libvirt-v0.8.3-gentoo.tar.bz2
libvirt-v0.8.3-gentoo.zip
build-sys: only build the test programs during the check phase.v0.8.3-gentoo
This avoids building the tests when testing libvirt is not the aim.
-rw-r--r--tests/Makefile.am26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 71c2c74e2..1dc7f66bf 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -72,42 +72,42 @@ EXTRA_DIST = \
domainsnapshotxml2xmlin \
qemuhelpdata
-noinst_PROGRAMS = virshtest conftest \
+check_PROGRAMS = virshtest conftest \
nodeinfotest statstest qparamtest
if WITH_XEN
-noinst_PROGRAMS += xml2sexprtest sexpr2xmltest \
+check_PROGRAMS += xml2sexprtest sexpr2xmltest \
reconnect xmconfigtest xencapstest
endif
if WITH_QEMU
-noinst_PROGRAMS += qemuxml2argvtest qemuxml2xmltest qemuargv2xmltest qemuhelptest
+check_PROGRAMS += qemuxml2argvtest qemuxml2xmltest qemuargv2xmltest qemuhelptest
endif
if WITH_ESX
-noinst_PROGRAMS += esxutilstest vmx2xmltest xml2vmxtest
+check_PROGRAMS += esxutilstest vmx2xmltest xml2vmxtest
endif
if WITH_SECDRIVER_SELINUX
-noinst_PROGRAMS += seclabeltest
+check_PROGRAMS += seclabeltest
endif
if WITH_SECDRIVER_APPARMOR
-noinst_PROGRAMS += secaatest
+check_PROGRAMS += secaatest
endif
if WITH_CIL
-noinst_PROGRAMS += object-locking
+check_PROGRAMS += object-locking
endif
-noinst_PROGRAMS += networkxml2xmltest
+check_PROGRAMS += networkxml2xmltest
-noinst_PROGRAMS += nwfilterxml2xmltest
+check_PROGRAMS += nwfilterxml2xmltest
-noinst_PROGRAMS += storagevolxml2xmltest storagepoolxml2xmltest
+check_PROGRAMS += storagevolxml2xmltest storagepoolxml2xmltest
-noinst_PROGRAMS += nodedevxml2xmltest
+check_PROGRAMS += nodedevxml2xmltest
-noinst_PROGRAMS += interfacexml2xmltest
+check_PROGRAMS += interfacexml2xmltest
test_scripts = \
capabilityschematest \
@@ -181,7 +181,7 @@ TESTS += secaatest
endif
if WITH_LIBVIRTD
-noinst_PROGRAMS += eventtest
+check_PROGRAMS += eventtest
TESTS += eventtest
endif