[Libguestfs] [PATCH 5/8] ocaml: Use LOG_COMPILER to run valgrind.

Richard W.M. Jones rjones at redhat.com
Mon Feb 22 13:59:16 UTC 2016


---
 ocaml/Makefile.am | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index bc1d130..2152312 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -105,7 +105,8 @@ clean-local:
 
 endif
 
-TESTS_ENVIRONMENT = $(top_builddir)/run --test $(VG)
+TESTS_ENVIRONMENT = $(top_builddir)/run --test
+LOG_COMPILER = $(VG)
 
 test_progs_bc = \
 	t/guestfs_010_load.bc \
@@ -164,7 +165,7 @@ if HAVE_OCAMLOPT
 endif
 
 check-valgrind:
-	$(MAKE) VG="$(top_builddir)/run @VG@" TESTS="$(test_progs_all)" check
+	$(MAKE) VG="@VG@" TESTS="$(test_progs_all)" check
 
 CLEANFILES += bindtests.tmp
 
-- 
2.5.0




More information about the Libguestfs mailing list