This is mostly a preparatory change in view of future ones.  But it
also make the behaviour of runtest more similar to that of the test
harness used by "make check".

* runtest.in: Export srcdir (was already defined to '@srcdir@').

Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com>
---
 runtest.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/runtest.in b/runtest.in
index 0722141..53e2498 100644
--- a/runtest.in
+++ b/runtest.in
@@ -24,6 +24,10 @@ set -e; set -u
 : ${AM_PROVEFLAGS='--merge --verbose'}
 : ${srcdir='@srcdir@'}
 
+# For use by the testsuite framework.  The Automake test harness
+# define this, so we better do the same.
+export srcdir
+
 error () { echo "$0: $*" >&2; exit 255; }
 
 # Some shell flags should be passed over to the test scripts.
-- 
1.7.12.rc0


Reply via email to