]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'fix-depmod-tests-generation' into testsuite-work
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 7 May 2011 09:50:02 +0000 (11:50 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 7 May 2011 09:50:02 +0000 (11:50 +0200)
1  2 
ChangeLog

diff --cc ChangeLog
index cf2fc141e0b27795f5de48a1b0158c3e204e8a0f,f427fa8adf464a41db22474bae9e518359d20b17..dc70bf556d86083bfdd2b5bf1f3828e0901b4baf
+++ b/ChangeLog
+ 2011-05-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       depmod tests: fix bug in depmodes list extraction
+       * tests/depmod-tests.sh (get_depmodes): Use `echo $all_depmodes'
+       instead of `... | tr "$nl" "$sp"' to strip extra whitespaces and
+       newlines from `$all_depmodes'.  The latter idiom with `tr' is
+       wrong since it gets run before `./defs' is sourced, and thus `$nl'
+       and `$sp' are undefined.
+       Bug revealad by FreeBSD tr(1) implementation, which doesn't accept
+       empty strings as arguments.
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: add excerpts from few original bug reports, for clarity.
 +      * tests/comment6.test: Add excerpts and/or details from the
 +      original bug report that prompted this tests to be added and/or
 +      extended.
 +      * tests/dejagnu4.test: Likewise.
 +      * tests/installdir.test: Likewise.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests defs: allow requirements for compilers (mostly dummy)
 +      Most of the new requirements that are now accepted in `$required'
 +      as consequence of this patch are still dummy.  They are planned
 +      to be implemented only in master (or in some derived branch), but
 +      having them here (even just as no-op) will allow for an easier
 +      integration/backporting of potential new testcases.
 +      * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
 +      still dummy.
 +      (flex): New requirement, picking LEX for configure.
 +      (lex): New requirement, alias for `flex'.  A more appropriate
 +      implementation, looking for a generic `lex' program, will follow
 +      in the future.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: 'silent-many-gcc.test' improved and made more robust
 +      * tests/silent-many-gcc.test:  Also force "fast" gcc depmode
 +      for C++ compilations.  Add sanity checks verifying that the
 +      cache variables we force are really used by configure.  Fix
 +      typo in comments.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: drop useless requirements of 'g++'
 +      * tests/lflags2.test ($required): Remove 'g++', as any working
 +      C++ compiler should be enough, and ./configure will cause the
 +      test to skip if no working C++ compiler is found.
 +      * tests/yflags2.test: Likewise.
 +      * tests/subobj9.test: Likewise.
 +      * tests/silentcxx.test: Likewise.  Also, do not force depmodes
 +      that could cause non-GNU C++ compilers to fail.
 +      * tests/silentcxx-gcc.test: New test, like `silentcxx.test',
 +      but forcing "fast" gcc depmode (and thus requiring the GNU C++
 +      compiler).
 +      * tests/specflg10.test: Add proper "fixme" comment telling that
 +      we should make this test work with a generic C++ compiler.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests defs: one more environment sanitization (corner case)
 +      * tests/defs (am__using_gmake): Initialize.  The `using_gmake'
 +      subroutine was using this variable for caching, but wasn't
 +      initializing it, which could cause problems in the (admittedly
 +      very unlikely) case in which it was pre-existent in the
 +      environment.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: add forgotten test scripts to $(TESTS)
 +      * tests/Makefile.am (TESTS): Added test scripts  man[678].test,
 +      which have been present on the filesystem and in the repository,
 +      but which had erroneously been left out from $(TESTS).
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: ensure verbose printing of captured make output
 +      * tests/libtool7.test: Ensure verbose printing of captured
 +      make output.
 +      * tests/libtool9.test: Likewise.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      maintcheck: consistency of list of test scripts
 +      * CheckListOfTests.am: New file.
 +      (maintainer-check-list-of-tests): New target,
 +      check for consistency between list of tests defined in the
 +      including Makefile and list of tests on the filesystem.
 +      (clean-maintcheck-testslist-tmp): New rule, to clean up the
 +      temporary files that might be left around by the rules associated
 +      with the previous target.
 +      (clean-local): Depend on it.
 +      * lib/Automake/tests/Makefile.am: Include `CheckListOfTests.am'.
 +      (maintainer-check): Added dependency from the new target
 +      `maintainer-check-list-of-tests'.
 +      * tests/Makefile.am: Likewise.  Also ...
 +      (checked_test_extensions): Define to `.test'.
 +      (expected_test_list): Define properly.
 +      * Makefile.am (maintainer-check-list-of-test): New target,
 +      calling recursively into `tests/' and `lib/Automake/tests/',
 +      using ...
 +      (TEST_SUBDIRS): ... this new variable.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: drop useless requirements of gcc (plus testsuite tweakings)
 +      * tests/libobj14.test ($required): Remove 'gcc', as we never run
 +      the C compiler.
 +      * tests/targetclash.test: Likewise.
 +      * tests/ansi6.test ($required): Remove 'gcc', as any working
 +      C compiler should be enough.
 +      * tests/ansi7.test: Likewise.
 +      * tests/ansi9.test: Likewise.
 +      * tests/ansi10.test: Likewise.
 +      * tests/lex5.test: Likewise.
 +      * tests/lexvpath.test: Likewise.
 +      * tests/mmodely.test: Likewise.
 +      * tests/pr204.test: Likewise.
 +      * tests/pr300-lib.test: Likewise.
 +      * tests/pr300-prog.test: Likewise.
 +      * tests/primary3.test: Likewise.
 +      * tests/specflg7.test: Likewise.
 +      * tests/specflg8.test: Likewise.
 +      * tests/subdir5.test: Likewise.
 +      * tests/subdir8.test: Likewise.
 +      * tests/subobj6.test: Likewise.
 +      * tests/subst3.test: Likewise.
 +      * tests/substre2.test: Likewise.
 +      * tests/yacc6.test: Likewise.
 +      * tests/yacc8.test: Likewise.
 +      * tests/depcomp2.test: Likewise.  Also, avoid clobbering user-set
 +      CFLAGS.
 +      * tests/lex3.test: Likewise.
 +      * tests/ansi3.test: Likewise.  Also, avoid 'CC=gcc' in configure.
 +      * tests/ansi3b.test: Likewise.
 +      * tests/ansi5.test: Likewise.
 +      * tests/autohdr4.test ($required): Remove 'gcc', as any working
 +      C compiler should be enough.
 +      Also, do not reject slow dependency extractors (which we might
 +      be forced to use now that $CC is not necessarily gcc anymore).
 +      * tests/cond16.test ($required): Remove 'gcc', as any working
 +      C compiler should be enough.
 +      Since we are at it, throw in few minor tweakings (mostly cosmetic,
 +      stylistic, or consistency-related).
 +      * tests/cond18.test: Likewise.
 +      * tests/cond35.test: Likewise.
 +      * tests/gnits2.test: Likewise.
 +      * tests/libtool3.test: Likewise.
 +      * tests/libtool7.test: Likewise.
 +      * tests/libtool9.test: Likewise.
 +      * tests/ltcond.test: Likewise.
 +      * tests/ltcond2.test: Likewise.
 +      * tests/ltconv.test: Likewise.
 +      * tests/ltlibsrc.test: Likewise.
 +      * tests/nobase.test: Likewise.
 +      * tests/nobase-libtool.test: Likewise.
 +      * tests/pr220.test: Likewise.
 +      * tests/pr224.test: Likewise.
 +      * tests/pr300-ltlib.test: Likewise.
 +      * tests/pr401.test: Likewise.
 +      * tests/pr401b.test: Likewise.
 +      * tests/pr401c.test: Likewise.
 +      * tests/subpkg.test: Likewise.
 +      * tests/target-cflags.test: Likewise.
 +      * tests/transform.test: Likewise.
 +      * tests/yacc4.test: Likewise.
 +      * tests/cond19.test: Likewise.  Also, avoid clobbering user-set
 +      CFLAGS.
 +      * tests/cond4.test: Likewise.
 +      * tests/depend2.test: Likewise.
 +      * tests/pr87.test: Likewise.
 +      * tests/subobj3.test: Likewise.
 +      * tests/substref.test: Likewise.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      test defs: increase coverage w.r.t. GNU make
 +      * tests/defs (GNUmake): Instead of just skipping the tests
 +      requiring GNU make if $MAKE is not GNU make, try to look for
 +      it and, if found, redefine $MAKE accordingly.  This will help
 +      to transparently increase coverage on non-GNU systems which
 +      have GNU make available in PATH.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: improve few inter-tests references
 +      * tests/acloca22.test: Improve and extend the heading comments.
 +      Add reference to related tests 'remake-deleted-m4-file.test' and
 +      'remake-renamed-m4-macro-and-file.test'.  Since we are at it,
 +      add trailing `:' command, and few blank lines for readability.
 +      * tests/remake-renamed-m4-macro-and-file.test: In the heading
 +      comments, add reference to the related test 'acloca22.test'.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: fix spurious failure in 'color2.test'
 +      * tests/color2.test: If $MAKE contains command-line arguments (as
 +      in e.g., "make -j2"), expect's directive "spawn $env(MAKE)" fails
 +      spuriously, because it tries to run "$MAKE" as a single command.
 +      Fix this with proper uses of the TCL `eval' builtin.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: few more checks on automatic remake support
 +      * tests/remake-all-1.test: New test, check that the "all" target
 +      triggers rebuilt of outdated Makefiles.
 +      * tests/remake-all-2.test: Likewise, but for when the makefiles
 +      are not named `Makefile'.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: check some remake features with non-GNU make too
 +      * tests/acloca14.test ($required): Drop "GNUmake".  This test
 +      works as-is with non-GNU make implementations.
 +      * tests/remake1a.test: Likewise.
 +      * tests/aclocal4.test ($required): Drop "GNUmake".
 +      Modify the test to have it work also with non-GNU make.
 +      * tests/remake5.test: Likewise.
 +      * tests/remake8a.test: Likewise.
 +      * tests/remake8b.test: Likewise.
 +      * tests/remake9a.test: Likewise.
 +      * tests/remake9b.test: Likewise.
 +      * tests/remake9c.test: Likewise.
 +      * tests/remake9d.test: Likewise.
 +      * tests/remake10a.test: Likewise.
 +      * tests/remake10b.test: Likewise.
 +      * tests/remake10c.test: Likewise.
 +      * tests/remake12.test: ($required): Drop "GNUmake".
 +      Adapt the test to make it work also with non-GNU make (if
 +      it supports an "include" directive).
 +
  2011-05-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        tests: extend tests on dependency tracking with VPATH