tests setup: less hard-coding of the test subdirectory
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Jul 2012 08:36:34 +0000 (10:36 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Jul 2012 09:40:21 +0000 (11:40 +0200)
commitc59c8d1536afcd0051cbe23ba538568932ecf00f
tree27cc1c84f628f038689a8be065dfa74c9650381a
parent167f68f488bd448dcbb133eb694f0092e241af22
tests setup: less hard-coding of the test subdirectory

* t/ax/tests-init.sh: Make the code creating the temporary
test subdirectory smart enough to automatically create it
in the same subdirectory of the test that is being run.
* defs-static.in ($MKDIR_P, $am_rel_srcdir): New variables,
AC_SUBST'd from @MKDIR_P@ and @srcdir@ respectively, and
used in the new 'tests-init.sh' code.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
defs-static.in
t/ax/test-init.sh