Commit Graph

4 Commits

Author SHA1 Message Date
Richard W.M. Jones
3fa03a30b3 build: installcheck: Ensure libguestfs.so is copied.
If you ran 'make installcheck' when libguestfs-devel was not
installed, then the installcheck would fail in many places with:

  gcc: error: ../../src/.libs/libguestfs.so: No such file or directory

We should stop the installcheck script immediately if the .so file was
not found.

Also this commit ensures that src/.libs/libguestfs.so* not existing
before installcheck is not fatal.
2016-02-19 12:49:18 +00:00
Richard W.M. Jones
b193908514 build: Add virt-v2v-copy-to-local to installcheck.
This updates commit 87adc30163.
2015-11-19 22:53:18 +00:00
Richard W.M. Jones
2d1d485265 installcheck: Use 'make check -k' option.
Run all the tests, even if some of them fail, so you can easily see
the complete list of failures.  This still exits with an error if any
test fails.
2015-09-22 14:16:54 +01:00
Richard W.M. Jones
f2540d68e4 Add 'make installcheck' rule to test installed packages.
Allow the tests to be run on the installed libguestfs.so library and
on installed programs (but not installed language bindings, yet).

To run the tests, you have to have a copy of the libguestfs source
tree with exactly the same version as the installed libguestfs.  You
have to build the libguestfs source tree.  Then you do:

  make installcheck

I investigated making automake 'make installcheck' work, but it's
basically broken (no surprise there).

This is derived from the old 'make-check-on-installed.pl'
script (which is also removed in this patch).
2015-09-18 14:12:17 +01:00