[libvirt] [PATCH] Enable build of test suite programs by default for GIT checkouts

Eric Blake eblake at redhat.com
Tue Mar 27 15:43:15 UTC 2012


On 03/27/2012 09:37 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Add a new flag '--with-test-suite' to configure to control whether
> the test suite binaries are built by default. ie built with a
> plain 'make', as opposed to delayed until 'make check'
> 
> For builds from tar.gz tests will not be built by default. For
> builds from GIT, tests with be on by default, to try and ensure
> that patch developers don't accidentally break the test suites
> without noticing.
> 
> * configure.ac: Add --with-test-suite
> * tests/Makefile.am: Use noinst_PROGRAMS instead of check_PROGRAMS
>   if building tests by default. Consolidate setting of TESTS and
>   {noinst,check}_PROGRAMS to avoid duplication
> ---
>  configure.ac      |   19 ++++++++
>  tests/Makefile.am |  119 +++++++++++++---------------------------------------
>  2 files changed, 49 insertions(+), 89 deletions(-)

Nice refactoring.  ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120327/b7f2614d/attachment-0001.sig>


More information about the libvir-list mailing list