]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'maint' into yacc-work
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 19 May 2011 19:53:18 +0000 (21:53 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 19 May 2011 19:53:18 +0000 (21:53 +0200)
* maint:
  test defs: rename requirement 'non-cross' -> 'native'
  testsuite: be more cross-compile friendly
  tests: fix spurious failure of txinfo21.test on FreeBSD

1  2 
ChangeLog
tests/defs.in

diff --cc ChangeLog
index 133a6aac52cb7f6a8f27edfcc05412d7417ab79d,d50f10f29a6d240c26c9e08b03c2d1b6db40904a..69bcfee27f54af4d383cc3eefa544749bde768e5
+++ b/ChangeLog
+ 2011-05-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       test defs: rename requirement 'non-cross' -> 'native'
+       * tests/defs.in (non-cross): Rename requirement ...
+       (native): ... to this, which is clearer and fits the
+       existing lingo better.
+       Suggestion by Ralf Wildenhues.
+ 2011-05-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       testsuite: be more cross-compile friendly
+       * tests/defs.in (cross_compiling): New subroutine.
+       (am__tool_prefix): New internal variable.
+       (gcc, g++, gcj): Force the use of the correct "tool prefix"
+       when cross compiling.
+       (gfortran, g77, non-cross): New requirements.
+ 2011-05-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests: fix spurious failure of txinfo21.test on FreeBSD
+       * tests/txinfo21.test: Use the `is_newest' subroutine instead of
+       the `ls -t' hack to to determine whether a file has been updated.
+       This is required because at least FreeBSD `ls' do not sort files
+       with the same timestamp in alphabetical order when using the `-t'
+       option.
 +2011-05-13   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      lex: "make clean" removes .c files from non-distributed .l
 +      Previously, while automake did *not* distribute C source and header
 +      files derived from non-distributed Lex sources, it still caused
 +      them to be removed only by "make maintainer-clean" only, and not by
 +      simply "make clean" or "make distclean".
 +      This caused "make distcheck" to fail, unless the developer put
 +      those generated .c files in CLEANFILES or in DISTCLEANFILES by
 +      hand.
 +      This change fixes this issue, by making non-distributed `.c' files
 +      generated by non-distributed Lex sources cleaned by "make clean".
 +      A similar problem for Yacc support had been fixed with the commit
 +      v1.11-263-ged2c8bc.
 +      * tests/automake.in (lang_lex_target_hook): Make C source files
 +      derived from non-distributed Lex files cleaned by "make clean",
 +      not only by "make maintainer-clean".
 +      * tests/lex-clean.test: New test.
 +      * tests/lex-clean-cxx.test: Likewise.
 +      * tests/lex-nodist.test: Likewise.
 +      * tests/lex-pr204.test: Likewise.
 +      * tests/pr204.test: For consistency, renamed ...
 +      * tests/yacc-pr204.test: ... to this, and updated to keep it
 +      more in sync with 'lex-pr204.test'.
 +      * tests/yacc-nodist.test: Updated to keep it more in sync with
 +      'lex-nodist.test'.
 +      * tests/Makefile.am (TESTS): Update.
 +      * NEWS: Update.
 +
 +2011-05-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      lex tests: make test on Lex dependency tracking more "semantic"
 +      * tests/lex4.test: Renamed ...
 +      * tests/lex-depend-grep.test: ... to this, and extended.
 +      * tests/lex-depend.test, tests/lex-depend-cxx.test: ... these
 +      new tests.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2011-05-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      lex tests: remove erroneous check about ylwrap distribution
 +      * tests/lex5.test: Do not check that the ylwrap script is *not*
 +      distributed when there is only one lexer, as ylwrap is in fact
 +      expected to distributed unconditionally (at least starting from
 +      commit `Release-1-9-323-gc5881cc' of 19-08-2006).  Note that this
 +      bogus check wasn't triggering any failure because it was done at
 +      the wrong time (i.e. from the VPATH build directory), so that it
 +      could never fail anyway.
 +      Instead, check that ylwrap is distributed even when there is only
 +      one lexer.
 +      Since we are at it, add a couple of `ls -l' calls, to get better
 +      debugging info.
 +
 +2011-05-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      yacc tests: "make clean" removes C++ files from non-distributed .y
 +      * tests/yacc-clean-cxx.test: New test, sister of `yacc-clean.test'.
 +      * tests/yacc-clean.test: Update heading comment to reference the
 +      new sister test.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2011-05-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: add a workaround for automake bug#8485
 +      * tests/yacc-d-cxx.test (Makefile.am): Add temporary workaround
 +      for automake bug#8485.  The bug is still exposed by the testcase
 +      'yacc-dist-nobuild-subdir.test'.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: add a couple of inter-tests reference
 +      * tests/yacc-nodist.test, tests/pr204.test: These tests are
 +      related, so add references to each other in heading comments.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      lex tests: require just `lex' instead of `flex'
 +      * tests/lex-subobj-nodep.test ($required): Require `lex',
 +      not `flex', as this test is expected to work with any lex
 +      implementation.
 +      * tests/silent-lex.test: Likewise.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests defs: use `skip_' for skipping yacc/lex related tests
 +      * tests/defs.in (lex, bison): Use `skip_' to signal test skipping.
 +
 +2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests defs: merge cleanup
 +      * tests/defs.in (flex, bison): Requirements removed, we have real
 +      `lex' and `yacc' requirements now.
 +
  2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        tests defs: allow requirements for compilers (mostly dummy)
diff --cc tests/defs.in
Simple merge