[Pkg-libvirt-commits] [libguestfs] 373/384: v2v: test-harness: Rebuild v2v_test_harness.cmi if OCaml API changes.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:59:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 6c5451b34fb3026950711e275befabd530804aee
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Mar 26 09:42:52 2015 +0000

    v2v: test-harness: Rebuild v2v_test_harness.cmi if OCaml API changes.
    
    The error you would have seen before was:
    
    File "v2v_test_harness.ml", line 1:
    Error: The files ../../ocaml/guestfs.cmi and v2v_test_harness.cmi
           make inconsistent assumptions over interface Guestfs
---
 v2v/test-harness/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/v2v/test-harness/Makefile.am b/v2v/test-harness/Makefile.am
index ef88374..ad29f82 100644
--- a/v2v/test-harness/Makefile.am
+++ b/v2v/test-harness/Makefile.am
@@ -97,6 +97,8 @@ if HAVE_OCAMLOPT
 	$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
 endif
 
+v2v_test_harness.cmi: $(top_builddir)/ocaml/guestfs.cmi
+
 # Do the installation by hand, because we want to run ocamlfind.
 data_hook_files = META *.so *.a *.cmi $(srcdir)/*.mli
 if !HAVE_OCAMLOPT

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list