tests: fix many spurious failures in VPATH builds
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 17 Feb 2012 14:20:03 +0000 (15:20 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 17 Feb 2012 14:33:48 +0000 (15:33 +0100)
commita98e58ffff35f13a61359f3c0aa214ebc6d15922
treeb50c776529490f3db71258d0bc598a7742818c6d
parent44737ebc42660ec28f8555607ae51d2d355e927a
tests: fix many spurious failures in VPATH builds

The 'is' helper script, used by some test cases since commit
'v1.11-1830-g96401cb' of 08-02-2012, "tests: better way to compare
lists in Makefile rules", is not available in VPATH builds, since
it resides in $(srcdir), nor in $(builddir), and only $(builddir)
is added to $PATH in the test script.  This was causing spurious
failures.

Solve this issue by re-organizing a bit the layout and placing of
wrapper and help scripts used by the testsuite.  This reorganization
is by no mean complete, but should be enough to solve the VPATH
issues.

* tests/is: Moved ...
* tests/ax/is: ... here
* tests/automake.in: Moved ...
* tests/wrap/automake.in: ... here.
* tests/aclocal.in: Moved ...
* tests/wrap/aclocal.in: ... here.
* tests/defs-static.in ($am_bindir, $PATH): Adjust.
* configure.ac (AC_CONFIG_FILES): Likewise.
* tests/Makefile.am (EXTRA_DIST, check_SCRIPTS): Likewise.
* tests/get-sysconf.test: Likewise.
* .gitignore: Likewise.
.gitignore
configure.ac
tests/Makefile.am
tests/ax/is [moved from tests/is with 100% similarity]
tests/defs-static.in
tests/get-sysconf.test
tests/wrap/aclocal.in [moved from tests/aclocal.in with 100% similarity]
tests/wrap/automake.in [moved from tests/automake.in with 100% similarity]