summaryrefslogtreecommitdiffstats
path: root/tests/extra
Commit message (Collapse)AuthorAgeFilesLines
* tests: Replace 'make extra-tests' with individual tests.Richard W.M. Jones2012-11-135-403/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 'make extra-tests' was a monolithic set of tests that did all sorts of things: valgrind, tests over local guests, tests with upstream qemu, tests with upstream libvirt, tests with the appliance attach method. This made it hard to perform individual tests, eg. just valgrind testing. It was also hard to maintain because the tests were not located in the same directories as the programs and sometimes duplicated tests that were run elsewhere. This commit splits up 'make extra-tests' into 5 separate targets: make check-valgrind # run a subset of tests under valgrind make check-valgrind-local-guests # test under valgrind with local guests make check-with-appliance # test with attach-method == appliance make check-with-upstream-qemu # test with an alternate/upstream qemu make check-with-upstream-libvirt # test with an alternate/upstream libvirt (You can also still run 'make extra-tests' which is now simply a rule that runs the above 5 targets in order). This replaces everything that was in the tests/extra directory, so that has now gone.
* extra-tests: Add $(libvirt_ro_uri) substitution to configure.Richard W.M. Jones2012-11-131-11/+9
| | | | This is essentially just code motion.
* Define whole valgrind command (as @VG@) in the configure script.Richard W.M. Jones2012-11-131-6/+1
| | | | | | This is mostly just code motion, but it also changes the default location where valgrind.log is written to be the top build directory (instead of tests/extra/valgrind.log).
* extra-tests: Move valgrind suppressions file to top source directory.Richard W.M. Jones2012-11-122-217/+1
| | | | This is just code motion.
* valgrind: Add suppression for memory leak in libdl:_dl_init function.Richard W.M. Jones2012-10-181-0/+8
|
* valgrind: Fix FUSE memory leak suppression.Richard W.M. Jones2012-10-141-2/+10
|
* extra-tests: Re-run the tests against upstream libvirt.Richard W.M. Jones2012-09-182-0/+56
|
* extra-tests: Clean up some comments about the upstream qemu tests.Richard W.M. Jones2012-09-181-3/+4
|
* extra-tests: Add scripts used by these tests to EXTRA_DIST.Richard W.M. Jones2012-09-181-1/+5
|
* extra-tests: Write a qemu wrapper script on the fly.Richard W.M. Jones2012-09-152-26/+13
| | | | | | | | | | | Passing the $upstream_qemu environment variable is not reliable when libvirt is involved: Environment variables are passed to the first instance of the session libvirtd, but because libvirt reuses the session libvirtd, subsequent environment variable settings are lost (this is filed as RHBZ#856619). Bypass all of this by writing a custom qemu-wrapper.sh which contains the hard-coded values we want.
* extra-tests: Rerun extra tests with regular appliance attach method.Richard W.M. Jones2012-09-152-1/+35
| | | | | If libvirt is being used as the backend, rerun all the extra-tests again using the regular appliance backend.
* extra-tests: The upstream qemu test now reruns all the extra tests.Richard W.M. Jones2012-09-153-10/+12
|
* extra-tests: Fix libvirt URI so we can run tests with libvirt attach-method.Richard W.M. Jones2012-09-151-14/+10
|
* extra-tests: Don't use $QEMU as a variable.Richard W.M. Jones2012-09-052-6/+13
| | | | | | Since 'QEMU' is set (overwritten) by the autoconf-generated Makefile, this test would always test installed qemu, not upstream qemu, making it pretty useless. Use another name for this variable.
* tests/extra: Add workaround for memory leak in libvirt.Richard W.M. Jones2012-08-111-1/+13
| | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=847429
* build: Return 77 from skipped tests.Richard W.M. Jones2012-07-191-2/+2
|
* tests: Rewrite parallel mount-local test in C.Richard W.M. Jones2012-07-181-0/+5
|
* extra-tests: Add a test using upstream qemu.Richard W.M. Jones2012-07-073-1/+75
|
* build: Define abs_builddir if not defined already.Richard W.M. Jones2012-06-181-0/+3
| | | | | | This is missing on RHEL 5. This updates commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6.
* build: Define builddir and abs_srcdir when they are missing.Richard W.M. Jones2012-06-181-0/+3
| | | | | | | | | | | | | | | | | | | | | RHEL 5-era autoconf did not define these, so define them manually when they are missing. Define builddir as '.' The scripts require this. It won't work in the srcdir != builddir case, but we don't care about that for RHEL 5. This commit also moves the builddir / abs_srcdir variable setting above the include of subdir-rules.mk, in case that include uses these variables. Useful script: for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do if ! grep -q '^abs_srcdir' $f; then echo missing in $f fi done
* extra-tests: Check if valgrind supports --vgdb=no option.Richard W.M. Jones2012-04-181-3/+3
| | | | This option didn't exist in RHEL 6 valgrind.
* extra-tests: Add suppression for memory leak in FUSE.Richard W.M. Jones2012-04-121-0/+9
|
* extra-tests: Add suppression for libvirt/gnutls leak.Richard W.M. Jones2012-04-111-1/+12
| | | | https://www.redhat.com/archives/libvir-list/2012-April/msg00322.html
* extra-tests: Disable valgrind vgdb.Richard W.M. Jones2012-04-101-1/+2
| | | | This leaves files called 'vgdb-pipe-*' in .
* extra-tests: Test virt-sysprep.Richard W.M. Jones2012-04-011-1/+14
|
* Rewrite virt-sysprep.Richard W.M. Jones2012-03-311-3/+1
|
* extra-tests: Export LIBVIRT_DEFAULT_URI to pick-guests.pl.Richard W.M. Jones2012-03-081-1/+6
| | | | This fixes commit 2912e4e1173226f461517a0008664e01b5d3066d.
* extra-tests: Check that guests are accessible before picking them.Richard W.M. Jones2012-03-082-11/+65
|
* extra-tests: Add suppression for uninitialized memory bug in latest glibc.Richard W.M. Jones2012-02-081-0/+8
|
* extra-tests: libnl moved from /lib64 to /usr/lib64 on Fedora.Richard W.M. Jones2012-02-081-0/+13
| | | | Update suppressions file to match.
* extra-tests: ocaml: Additional suppressions so we can test bytecode.Richard W.M. Jones2012-01-281-0/+14
|
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* New tool: virt-format: erase and make blank disks.Richard W.M. Jones2012-01-181-0/+1
| | | | | This tool allows you to easily reformat a disk, creating a blank disk with optional partition, LVM and empty filesystem.
* extra-tests: Only test 5 random guests.Richard W.M. Jones2012-01-101-6/+10
| | | | | | | | | If you have a lot of guests, running extra tests takes a lot of time, but (arguably) you're not really doing any more detailed testing. Thus pick up to 5 guests at random to test. A different random selection is done on each run, ensuring that data-driven errors (eg in inspection) will still be found eventually.
* extra-tests: add test-guests to prevent test errorWanlong Gao2011-12-231-0/+4
| | | | | | | | | | | | extra-tests is depending on tests-guests. We need guests/*.img when doing extra-tests. /work/git/libguestfs/run valgrind --log-file=/work/git/libguestfs/tests/extra/valgrind.log --leak-check=full --error-exitcode=119 --suppressions=/work/git/libguestfs/tests/extra/suppressions ../../cat/virt-cat -a ../guests/fedora.img /etc/fstab >/dev/null ../guests/fedora.img: No such file or directory make[1]: *** [test-tools-internal] Error 1 make[1]: Leaving directory `/work/git/libguestfs/tests/extra' Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* tests: Split images -> tests/data + tests/guestsRichard W.M. Jones2011-12-221-16/+16
|
* tests: Rename extratests -> tests/extra.Richard W.M. Jones2011-12-222-0/+291