[Libguestfs] [PATCH 7/8] tests: c-api: Use LOG_COMPILER to run valgrind.
Richard W.M. Jones
rjones at redhat.com
Mon Feb 22 13:59:18 UTC 2016
---
tests/c-api/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/c-api/Makefile.am b/tests/c-api/Makefile.am
index 6503d94..40fe33e 100644
--- a/tests/c-api/Makefile.am
+++ b/tests/c-api/Makefile.am
@@ -80,7 +80,8 @@ TESTS_ENVIRONMENT = \
SKIP_TEST_COMMAND=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \
SKIP_TEST_COMMAND_LINES=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \
SKIP_TEST_COMMAND=$(shell ldd test-pwd | grep -sq 'not a dynamic executable' || echo 1) \
- $(top_builddir)/run --test $(VG)
+ $(top_builddir)/run --test
+LOG_COMPILER = $(VG)
#SKIP_TEST_CHECKSUM_8=$(shell if test `find ../initramfs -name squashfs.ko | wc -l` -eq 0; then echo 1; fi)
@@ -258,4 +259,4 @@ test_add_libvirt_dom_LDADD = \
endif
check-valgrind:
- $(MAKE) VG="$(top_builddir)/run @VG@" check
+ $(MAKE) VG="@VG@" check
--
2.5.0
More information about the Libguestfs
mailing list