diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-03 17:26:00 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-03 17:28:02 +0000 |
commit | 2a33d81e2b7fa2affaaad48538307c818b4a8260 (patch) | |
tree | 4509d557790aa20ac5b8fc091ddcfc072da89383 /capitests | |
parent | 8ccc6cd1f798f960e520ea8de24eb1f6a1313d3a (diff) | |
download | libguestfs-2a33d81e2b7fa2affaaad48538307c818b4a8260.tar.gz libguestfs-2a33d81e2b7fa2affaaad48538307c818b4a8260.tar.xz libguestfs-2a33d81e2b7fa2affaaad48538307c818b4a8260.zip |
capitests: Set path in TESTS_ENVIRONMENT instead of in tests.c
By exporting LIBGUESTFS_PATH with the right path to the appliance,
we no longer need to hard code the path in tests.c
Diffstat (limited to 'capitests')
-rw-r--r-- | capitests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/capitests/Makefile.am b/capitests/Makefile.am index 023efe4b..65a7240c 100644 --- a/capitests/Makefile.am +++ b/capitests/Makefile.am @@ -38,6 +38,7 @@ TESTS_ENVIRONMENT = \ SKIP_TEST_COMMAND=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \ SKIP_TEST_COMMAND_LINES=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \ SKIP_TEST_CHECKSUM_8=$(shell if test `find ../initramfs -name squashfs.ko | wc -l` -eq 0; then echo 1; fi) \ + LIBGUESTFS_PATH=$(top_builddir)/appliance \ $(VG) # Run the tests under valgrind. |