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.lattarini@gmail.com>
: ${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.