Hilko Bengen
2012-Feb-12 11:36 UTC
[Libguestfs] [PATCH] Do not run test-virt-format.sh if appliance has not been built
--- format/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/format/Makefile.am b/format/Makefile.am index 0d1b28e..1dc8f14 100644 --- a/format/Makefile.am +++ b/format/Makefile.am @@ -74,4 +74,6 @@ TESTS_ENVIRONMENT = \ MALLOC_PERTURB_=$(random_val) \ $(top_builddir)/run +if ENABLE_APPLIANCE TESTS = test-virt-format.sh +endif ENABLE_APPLIANCE -- 1.7.9
Richard W.M. Jones
2012-Feb-13 08:42 UTC
[Libguestfs] [PATCH] Do not run test-virt-format.sh if appliance has not been built
On Sun, Feb 12, 2012 at 12:36:03PM +0100, Hilko Bengen wrote:> --- > format/Makefile.am | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/format/Makefile.am b/format/Makefile.am > index 0d1b28e..1dc8f14 100644 > --- a/format/Makefile.am > +++ b/format/Makefile.am > @@ -74,4 +74,6 @@ TESTS_ENVIRONMENT = \ > MALLOC_PERTURB_=$(random_val) \ > $(top_builddir)/run > > +if ENABLE_APPLIANCE > TESTS = test-virt-format.sh > +endif ENABLE_APPLIANCE > --ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Reasonably Related Threads
- Various fixes from building libguestfs for Debian
- [PATCH] Prepend local library path to LD_LIBRARY_PATH for tests, instead of replacing it
- [PATCH libguestfs] tests: increase likelihood that heap abuse triggers failure
- [PATCH] run: Don't fail on missing LIBGUESTFS_PATH if --disable-appliance
- [PATCH] Change test scripts shell to bash, to avoid lack of arithmetic support in dash, which is sh on Ubuntu 10.04