From 2fa0c2d1f1dc5fe26ee545458057123145315477 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 10 Aug 2010 14:38:57 +0200 Subject: build-sys: only build the test programs during the check phase. This avoids building the tests when testing libvirt is not the aim. --- tests/Makefile.am | 26 +++++++++++++------------- 1 file 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 -- cgit v1.2.3-65-gdbad