• Show log

    Commit

  • Hash : 8ab0c949
    Author : Stefano Lattarini
    Date : 2011-09-03T21:03:36

    installcheck: support it in our own testsuite
    
    * NEWS: Update.
    * tests/defs-static.in ($am_running_installcheck): New variable.
    Initialize it to a default of "no", and sanity-check its value.
    ($am_datadir, $am_docdir, $am_automake_acdir, $am_system_acdir,
    $am_bindir, $am_scriptdir, $am_pkgvdir): New variables,
    initialized from AC_SUBST'ed values which are adaptively chosen
    depending on whether the testsuite is running in "simple" mode
    or in "installcheck" mode.
    ($MISSING): Remove, it's not really required by the testsuite.
    ($PATH): Update using `$am_bindir', not `$testbuilddir'.
    * Makefile.am (installcheck-local): New target.
    * lib/Automake/tests/Makefile.am (installcheck-local): New target.
    (AM_TESTS_ENVIRONMENT, AM_PL_LOG_FLAGS): Adaptively choose the
    `-I' flags for perl based on whether the tests are being run by
    "make check" or "make installcheck".
    * tests/Makefile.am (installcheck-local): New target.
    (defs-static): Generate it at make time, not at configure time,
    in order to correctly resolve all the indirections in the
    AC_SUBST'd variables; done with the help of ...
    (do_subst): ... this new macro.
    (EXTRA_DIST): Explicitly distribute `defs-static.in'.
    (CLEANFILES): Remove `defs-static'.
    * configure.ac (AC_CONFIG_FILES): Remove `tests/defs-static'.
    (AC_SUBST): Substitute also `automake_acdir', `system_acdir',
    `scriptdir' and `amdir' to proper values.
    * lib/Makefile.am (scriptdir):  Don't explicitly define anymore.
    * lib/am/Makefile.am (amdir): Likewise.
    * m4/acdir/dirlist: Remove, it's not needed anymore.  Instead
    use ...
    * m4/acdir/.placeholder: ... this file.
    * m4/Makefile.am (EXTRA_DIST): Update.
    (automake_acdir, system_acdir): Don't explicitly define anymore.
    * tests/aclocal-print-acdir.test: Use new `$am_...dir' variables,
    instead of hard-coding values with $testsrcdir and $testbuilddir,
    to test more faithfully under "make installcheck".
    * tests/amhello-binpkg.test: Likewise.
    * tests/amhello-cflags.test: Likewise.
    * tests/amhello-cross-compile.test: Likewise.
    * tests/ansi2knr-no-more.test: Likewise.
    * tests/autodist-stamp-vti.test: Likewise.
    * tests/auxdir.test: Likewise.
    * tests/check2.test: Likewise.
    * tests/copy.test: Likewise.
    * tests/multlib.test: Likewise.
    * tests/obsolete.test: Likewise.
    * tests/parallel-tests-interrupt.test: Likewise.
    * tests/repeated-options.test: Likewise.
    * tests/suffix5.test: Likewise.
    * tests/tap-doc2.test: Likewise.
    * tests/txinfo22.test: Likewise.
    * tests/vtexi3.test: Likewise.
    * tests/defs: Likewise.  Also, print the values of `$using_tap'
    and `$am_running_installcheck', to simplify debugging, and do
    some related code movings and tweakings.
    * tests/aclocal3.test: Update to avoid possible spurious failures
    when running under "make installcheck".
    * tests/warnings-unknown.test: Likewise.
    * tests/location.test: Likewise, and improve debugging input since
    we are at it.
    * tests/acloca10.test: Adapt and tweak to work also during a
    "make installcheck", and not to require a pre-populated `dirlist'
    file.
    * tests/acloca18.test: Likewise.
    * tests/dirlist2.test: Likewise.
    * tests/dirlist.test: Likewise, and remove an obsolete comment.
    * tests/README: Update.
    * tests/dirlist-abspath.test: New test.
    * tests/list-of-tests.mk: Update.