summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHilko Bengen <bengen@hilluzination.de>2011-10-20 14:20:56 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-10-21 16:42:06 +0100
commite7ea6d06ab4f203c8acb95f9df72ee0035d76941 (patch)
treee20d2987ee9cc0345fb0bc6e6e5fb59a2dc7d725
parentaa67ea2b9b800305a00615f3a463cdd46eae9181 (diff)
downloadlibguestfs-e7ea6d06ab4f203c8acb95f9df72ee0035d76941.tar.gz
libguestfs-e7ea6d06ab4f203c8acb95f9df72ee0035d76941.tar.xz
libguestfs-e7ea6d06ab4f203c8acb95f9df72ee0035d76941.zip
out-of-tree build: fixed bindtests and inspector
-rwxr-xr-xhaskell/run-bindtests2
-rw-r--r--inspector/Makefile.am2
-rwxr-xr-xjava/run-bindtests2
-rwxr-xr-xocaml/run-bindtests2
-rwxr-xr-xperl/run-bindtests2
-rwxr-xr-xpython/run-bindtests4
-rwxr-xr-xruby/run-bindtests2
7 files changed, 8 insertions, 8 deletions
diff --git a/haskell/run-bindtests b/haskell/run-bindtests
index f9ea4347..7b45145b 100755
--- a/haskell/run-bindtests
+++ b/haskell/run-bindtests
@@ -19,4 +19,4 @@
set -e
./Bindtests > bindtests.tmp
-diff -u ../bindtests bindtests.tmp
+diff -u ${srcdir}/../bindtests bindtests.tmp
diff --git a/inspector/Makefile.am b/inspector/Makefile.am
index 03e13d82..2389dbd1 100644
--- a/inspector/Makefile.am
+++ b/inspector/Makefile.am
@@ -90,7 +90,7 @@ stamp-virt-inspector.pod: virt-inspector.pod
if HAVE_XMLLINT
TESTS = $(EXAMPLE_XML)
-TESTS_ENVIRONMENT = $(XMLLINT) --noout --relaxng virt-inspector.rng
+TESTS_ENVIRONMENT = $(XMLLINT) --noout --relaxng $(srcdir)/virt-inspector.rng
endif
diff --git a/java/run-bindtests b/java/run-bindtests
index b80c4dc5..7e6eb7f4 100755
--- a/java/run-bindtests
+++ b/java/run-bindtests
@@ -19,4 +19,4 @@
set -e
$JAVA -Djava.library.path=.libs Bindtests > bindtests.tmp
-diff -u ../bindtests bindtests.tmp
+diff -u ${srcdir}/../bindtests bindtests.tmp
diff --git a/ocaml/run-bindtests b/ocaml/run-bindtests
index 5200fecf..d9a30470 100755
--- a/ocaml/run-bindtests
+++ b/ocaml/run-bindtests
@@ -19,4 +19,4 @@
set -e
./bindtests > bindtests.tmp
-diff -u ../bindtests bindtests.tmp
+diff -u ${srcdir}/../bindtests bindtests.tmp
diff --git a/perl/run-bindtests b/perl/run-bindtests
index d9d1ca38..f9cf2312 100755
--- a/perl/run-bindtests
+++ b/perl/run-bindtests
@@ -20,4 +20,4 @@ set -e
export PERL5LIB=$(pwd)/blib/lib:$(pwd)/blib/arch
perl bindtests.pl > bindtests.tmp
-diff -u ../bindtests bindtests.tmp
+diff -u ${srcdir}/../bindtests bindtests.tmp
diff --git a/python/run-bindtests b/python/run-bindtests
index 17448c3b..08a24e6f 100755
--- a/python/run-bindtests
+++ b/python/run-bindtests
@@ -18,5 +18,5 @@
set -e
-python bindtests.py > bindtests.tmp
-diff -u ../bindtests bindtests.tmp
+python ${srcdir}/bindtests.py > bindtests.tmp
+diff -u ${srcdir}/../bindtests bindtests.tmp
diff --git a/ruby/run-bindtests b/ruby/run-bindtests
index 803d4c6f..3bfa226d 100755
--- a/ruby/run-bindtests
+++ b/ruby/run-bindtests
@@ -19,4 +19,4 @@
set -e
ruby -Ilib -Iext/guestfs bindtests.rb > bindtests.tmp
-diff -u ../bindtests bindtests.tmp
+diff -u ${srcdir}/../bindtests bindtests.tmp