]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix up "make check"
authorChris Lalancette <clalance@redhat.com>
Wed, 23 Sep 2009 07:32:10 +0000 (09:32 +0200)
committerChris Lalancette <clalance@redhat.com>
Wed, 7 Oct 2009 10:18:13 +0000 (12:18 +0200)
commitdb68d6b1647f42e62cdb3c3e3708920d46ac9649
treee1bb89c1a7baf70bd9c13822717730fadcda8a63
parentd285084b12c7018d7c2b2d6f50d2c28ecdef5dca
Fix up "make check"

While running make check, I noticed that it was actually using
the virsh binary from my system, in /usr/bin/virsh, and not the
one that was just compiled.  This is actually caused by a bug
in Makefile.am, where we didn't update the PATH to include tools.

While here, I also updated all of the scripts to properly define
the srcdir, abs_top_srcdir, and abs_top_builddir environment
variables.  This is required if you want to be able to run the
tests standalone (i.e. ./test instead of from make check).  I've
tested this on both RHEL-5 and Fedora-10 machines, and make check
works on both, as does running the individual tests by hand.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
15 files changed:
tests/Makefile.am
tests/cpuset
tests/daemon-conf
tests/define-dev-segfault
tests/int-overflow
tests/libvirtd-fail
tests/libvirtd-pool
tests/read-bufsiz
tests/read-non-seekable
tests/start
tests/test_conf.sh
tests/undefine
tests/vcpupin
tests/virsh-all
tests/virsh-synopsis