automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 08/32] runtest: export $srcdir for use by the test scripts


From: Stefano Lattarini
Subject: [PATCH 08/32] runtest: export $srcdir for use by the test scripts
Date: Thu, 26 Jul 2012 14:04:34 +0200

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 <address@hidden>
---
 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

[Prev in Thread] Current Thread [Next in Thread]