search for: v2v_test_har

Displaying 20 results from an estimated 47 matches for "v2v_test_har".

2015 Mar 10
0
[PATCH] v2v: Add the test-harness used by external tests.
...| 1 + po-docs/podfiles | 1 + po-docs/uk/Makefile.am | 1 + po/POTFILES-ml | 1 + v2v/test-harness/META.in | 6 + v2v/test-harness/Makefile.am | 154 +++++++++++ v2v/test-harness/v2v_test_harness.ml | 409 +++++++++++++++++++++++++++++ v2v/test-harness/v2v_test_harness.mli | 66 +++++ v2v/test-harness/virt-v2v-test-harness.pod | 170 ++++++++++++ v2v/virt-v2v.pod | 1 + 14 files changed, 828 insertions(+), 1 deletion(-) create mode 100644 v2v/tes...
2015 Mar 10
2
[PATCH 0/1] v2v: Add the test-harness used by external tests.
As I'm now working through the enormous virt-v2v/virt-p2v bug list, we need a high quality set of tests to ensure that we don't accidentally regress some old OS/hypervisor combination while making changes. The test cases are going to be huge, so we cannot possibly distribute them in libguestfs. Furthermore many of them have licensing problems which means we cannot redistribute them at
2017 Oct 27
0
[PATCH v11 7/8] mllib: add XPath helper xpath_get_nodes
This function will allow more OCaml-ish processing of XPath queries with multiple results. --- common/mltools/xpath_helpers.ml | 9 +++++++ common/mltools/xpath_helpers.mli | 4 +++ v2v/output_libvirt.ml | 11 ++------ v2v/test-harness/v2v_test_harness.ml | 51 +++++++++++------------------------- 4 files changed, 30 insertions(+), 45 deletions(-) diff --git a/common/mltools/xpath_helpers.ml b/common/mltools/xpath_helpers.ml index 3afee8b21..d2bfd3fb9 100644 --- a/common/mltools/xpath_helpers.ml +++ b/common/mltools/xpath_helpers.ml @@ -40,3...
2016 Mar 03
1
[PATCH] mllib: factor out mounting of guest root
...-- customize/customize_main.ml | 9 +-------- get-kernel/get_kernel.ml | 9 +-------- mllib/common_utils.ml | 18 ++++++++++++++++++ mllib/common_utils.mli | 11 +++++++++++ sysprep/main.ml | 12 +----------- v2v/test-harness/v2v_test_harness.ml | 9 +-------- 7 files changed, 34 insertions(+), 44 deletions(-) diff --git a/builder/builder.ml b/builder/builder.ml index 1f9a472..debd7e3 100644 --- a/builder/builder.ml +++ b/builder/builder.ml @@ -664,15 +664,7 @@ let main () = let root = match Array.to_list (g#inspect_os ())...
2017 Aug 04
0
Re: libguestfs binaries missing when built from source code
...t-harness.1 > podwrapper.pl: wrote ../../html/virt-v2v-test-harness.1.html > touch stamp-virt-v2v-test-harness.pod > ocamlfind ocamlopt -g -annot -warn-error CDEFLMPSUVYZX-3 -package str,unix,libvirt -I ../../src/.libs -I ../../gnulib/lib/.libs -I ../../ocaml -I ../../mllib -I ../../v2v -c v2v_test_harness.ml -o v2v_test_harness.cmx > AR libv2vth.a > File "v2v_test_harness.ml", line 205, characters 14-26: > Error: Unbound value D.create_xml > make[2]: *** [v2v_test_harness.cmx] Error 2 > make[2]: Leaving directory `/root/rpmbuild_oldlib/BUILD/libguestfs-1.30.3/v2v...
2016 Dec 08
3
[PATCH 0/2] mllib: Add quote function to Common_utils module.
Doing this allows us to remove the Customize_utils module completely, since it becomes empty. Rich.
2015 Oct 24
2
[PATCH 0/2] Allow 'make install' to be run twice.
Still don't recommend you use 'make install', but here we go. Rich.
2015 Mar 11
2
Re: [PATCH] v2v: Add the test-harness used by external tests.
On Tuesday 10 March 2015 18:31:41 Richard W.M. Jones wrote: > + (* Boot the guest. *) > + let conn = C.connect () in > + let dom = D.create_xml conn boot_xml [D.START_AUTODESTROY] in When using ocaml-libvirt 0.6.1.2 (as shipped in f21), this results in: File "v2v_test_harness.ml", line 174, characters 14-26: Error: Unbound value D.create_xml Indeed, the ocaml-libvirt in that version has no Domain.create_xml, nor Domain flags like START_AUTODESTROY. -- Pino Toscano
2015 Jun 25
0
[PATCH v2] v2v: Free XML objects in the correct order.
...ering guarantee (that finalisers are always called in reverse order that they were created), which the C-level finaliser does not. --- v2v/input_libvirtxml.ml | 18 +++--- v2v/input_ova.ml | 10 ++-- v2v/output_libvirt.ml | 6 +- v2v/test-harness/v2v_test_harness.ml | 2 +- v2v/xml-c.c | 103 ++++++++++++++++++----------------- v2v/xml.ml | 85 ++++++++++++++++++++--------- v2v/xml.mli | 2 +- 7 files changed, 130 insertions(+), 96 deletions(-) diff --git a/v2v/input_libvi...
2015 Jun 25
0
[PATCH] v2v: Free XML objects in the correct order.
...ering guarantee (that finalisers are always called in reverse order that they were created), which the C-level finaliser does not. --- v2v/input_libvirtxml.ml | 18 +++--- v2v/input_ova.ml | 10 ++-- v2v/output_libvirt.ml | 6 +- v2v/test-harness/v2v_test_harness.ml | 2 +- v2v/xml-c.c | 103 ++++++++++++++++++----------------- v2v/xml.ml | 92 ++++++++++++++++++++----------- v2v/xml.mli | 2 +- 7 files changed, 131 insertions(+), 102 deletions(-) diff --git a/v2v/input_li...
2015 Jun 25
2
[PATCH v2] v2v: Free XML objects in the correct order.
In version 2: - No substantial change, I just tidied up the code a bit. - Removed one case where whitespace changes had crept in. Rich.
2017 Oct 27
15
[PATCH v11 0/8] virt-builder-repository
...ls/xpath_helpers.ml | 9 + common/mltools/xpath_helpers.mli | 4 + fish/guestfish.pod | 1 + installcheck.sh.in | 1 + lib/guestfs.pod | 1 + v2v/output_libvirt.ml | 11 +- v2v/test-harness/v2v_test_harness.ml | 51 +-- 29 files changed, 1481 insertions(+), 74 deletions(-) create mode 100644 builder/index_parser_tests.ml create mode 100644 builder/osinfo.ml create mode 100644 builder/osinfo.mli create mode 100644 builder/repository_main.ml create mode 100755 builder/test-virt-builder-repo...
2015 Mar 11
0
Re: [PATCH] v2v: Add the test-harness used by external tests.
...15 18:31:41 Richard W.M. Jones wrote: > > + (* Boot the guest. *) > > + let conn = C.connect () in > > + let dom = D.create_xml conn boot_xml [D.START_AUTODESTROY] in > > When using ocaml-libvirt 0.6.1.2 (as shipped in f21), this results in: > > File "v2v_test_harness.ml", line 174, characters 14-26: > Error: Unbound value D.create_xml > > Indeed, the ocaml-libvirt in that version has no Domain.create_xml, > nor Domain flags like START_AUTODESTROY. Yup, I need to backport this patch to F21: http://git.annexia.org/?p=ocaml-libvirt.git;a=...
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
...| 8 +- v2v/input_ova.ml | 4 +- v2v/linux.ml | 4 +- v2v/output_qemu.ml | 4 +- v2v/output_rhev.ml | 4 +- v2v/output_vdsm.ml | 2 +- v2v/test-harness/v2v_test_harness.ml | 2 +- v2v/utils.ml | 16 +-- v2v/v2v.ml | 2 +- 39 files changed, 246 insertions(+), 239 deletions(-) diff --git a/builder/checksums.ml b/builder/checksums.ml index 5663832..31d3cb3 100644 --- a/builder/checksums.ml +++...
2015 Oct 06
10
[PATCH 0/5] mllib: Hide bad String functions and miscellaneous refactoring.
Hide/prevent the use of bad string functions like String.lowercase. These are replaced by safe functions that won't break UTF-8 strings. Other miscellaneous refactoring. Rich.
2016 Jul 07
12
[PATCH v3 0/8] v2v: Move Curl wrapper to mllib and more.
v2 -> v3: - Changes to the Curl API suggested by Pino.
2016 Jul 07
9
[PATCH v2 0/8] v2v: Move Curl wrapper to mllib and use it for virt-builder (and more).
v1 -> v2: - Fixed the bug with precedence of if / @. - Add some imperative list operators inspired by Perl, and use those for constructing the Curl arguments, and more. Rich.
2017 Nov 21
2
[PATCH v3 0/2] common/mlstdutils: Extend the List module.
v2 -> v3: - Renamed List.assoc_ -> List.assoc_lbl. - Rebased on top of current master branch. Rich.
2019 Dec 13
8
[v2v PATCH 0/7] Various build fixes
Just like the similar series that already went in for libguestfs [1], do similar fixes also for virt-v2v, with additional fixes for the builddir!=srcdir case. This will also need the fix to subdir-rules.mk. [1] https://www.redhat.com/archives/libguestfs/2019-December/msg00062.html Pino Toscano (7): Update common to latest build: stop shipping files generated by configure build: use the
2017 Oct 08
4
[PATCH 0/3] common/mlstdutils: Add Std_utils List and Option modules.
In Std_utils we already extend Char and String. These commits take it a little further by extending List and adding a new Option submodule. All basically simple refactoring. Rich.