[Pkg-libvirt-commits] [libguestfs] 30/65: v2v: test-harness: Describe how to get the test harness.
Hilko Bengen
bengen at moszumanska.debian.org
Tue Apr 21 12:10:58 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 3f98018b4392e87593e19fb0aa69c31bd4aef354
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Apr 10 13:10:13 2015 +0100
v2v: test-harness: Describe how to get the test harness.
I don't think it's worth building the test harness as a separate
Fedora package. It just means the harness gets out of date
quickly and is hard to install. Instead the test cases can now
be configured to use the libguestfs source directory to get the
test harness.
---
v2v/test-harness/virt-v2v-test-harness.pod | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/v2v/test-harness/virt-v2v-test-harness.pod b/v2v/test-harness/virt-v2v-test-harness.pod
index d7c3d7c..965c4e9 100644
--- a/v2v/test-harness/virt-v2v-test-harness.pod
+++ b/v2v/test-harness/virt-v2v-test-harness.pod
@@ -60,17 +60,24 @@ B<a lot of disk space> to run the tests, in excess of S<100 GB>. You
should also ensure the test machine has plenty of RAM, at least
S<16 GB>.
-=head2 RUNNING THE TEST CASES
+=head2 GETTING THE TEST HARNESS
+
+To run the test cases you must have the virt-v2v test harness.
+
+The OCaml module is C<V2v_test_harness>.
-To run the test cases you must install the virt-v2v test harness (the
-OCaml module: C<V2v_test_harness>, source in
-C<libguestfs.git/v2v/test-harness>). In Fedora, install the
-C<virt-v2v-test-harness> package.
+The easiest way is to compile libguestfs from source (I<note> do not
+install it). The test harness will be in
+C<libguestfs/v2v/test-harness>
+
+It is also possible to install test harness as an OCaml module.
+
+=head2 RUNNING THE TEST CASES
Once you have checked out the freely redistributed test cases from the
repository, do:
- ./configure
+ ./configure [--with-test-harness=/path/to/libguestfs/v2v/test-harness]
make
make check
@@ -101,9 +108,8 @@ If you are interested in writing test cases, it is suggested that you
start by downloading the freely redistributable test cases, or at
least look at them online.
-Also you must install the virt-v2v test harness (the OCaml module:
-C<V2v_test_harness>, source in C<libguestfs.git/v2v/test-harness>).
-In Fedora, install the C<virt-v2v-test-harness> package.
+Also you must have the virt-v2v test harness - see
+L</GETTING THE TEST HARNESS> above.
=head2 FILES IN EACH TEST CASE
--
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