]> xenbits.xensource.com Git - libvirt.git/commit
Enable build of test suite programs by default for GIT checkouts
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Mar 2012 15:35:01 +0000 (16:35 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Mar 2012 16:08:06 +0000 (17:08 +0100)
commit3a2fc2770b7cbeba1b4f3550029e59c7b5126f7e
treec9ef46d76a44e9139283812dd8176b76b730814d
parent53e1d56dd468e945ad311f46221a357dffda787b
Enable build of test suite programs by default for GIT checkouts

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
tests/Makefile.am