summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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