]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix bugs in tests/Makefile.am.
authorJim Meyering <meyering@redhat.com>
Mon, 24 Mar 2008 10:18:36 +0000 (10:18 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Mar 2008 10:18:36 +0000 (10:18 +0000)
* tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
settings of abs_top_builddir and abs_top_srcdir.
Also prepend src/ to PATH, so we test the just-built virsh,
not whatever happens to be in the original $PATH.

ChangeLog
tests/Makefile.am

index ed138c46f4e386d20f29cf03553c468b89fabfd3..40128198f7c77f40c19c5a5e0b2453b6ef33d08e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Mon Mar 24 11:16:58 CET 2008 Jim Meyering <meyering@redhat.com>
+
+       Fix bugs in tests/Makefile.am.
+       * tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
+       settings of abs_top_builddir and abs_top_srcdir.
+       Also prepend src/ to PATH, so we test the just-built virsh,
+       not whatever happens to be in the original $PATH.
+
 Mon Mar 24 10:20:21 CET 2008 Daniel Veillard <veillard@redhat.com>
 
        * src/xend_internal.c: applied patch from Saori Fukuta adding the
index 644715e1ab24c4425e02aa9430d8ba5109001256..4810179a773504d2a2402f067a41c3f160ed530f 100644 (file)
@@ -53,13 +53,15 @@ if ENABLE_XEN_TESTS
   TESTS += reconnect
 endif
 
+path_add = $$abs_top_builddir/src$(PATH_SEPARATOR)$$abs_top_builddir/qemud
+
 # NB, automake < 1.10 does not provide the real
 # abs_top_{src/build}dir variables, so don't rely
 # on them here. Fake them with 'pwd'
 TESTS_ENVIRONMENT =                            \
-  abs_top_builddir=`pwd`/'$(top_builddir)'     \
-  abs_top_srcdir=`pwd`/'$(top_srcdir)'         \
-  PATH="$$abs_top_builddir/qemud$(PATH_SEPARATOR)$$PATH" \
+  abs_top_builddir=`cd '$(top_builddir)'; pwd` \
+  abs_top_srcdir=`cd '$(top_srcdir)'; pwd`     \
+  PATH="$(path_add)$(PATH_SEPARATOR)$$PATH"    \
   $(VG)
 
 valgrind: