Merge branch 'maint' into parallel-tests-maint
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 20 May 2011 22:16:25 +0000 (00:16 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 20 May 2011 22:16:25 +0000 (00:16 +0200)
* maint:
  testsuite: avoid re-running few tests with 'parallel-tests' option
  testsuite: allow tests to avoid the use of 'parallel-tests' option
  tests/README: update obsoleted advice
  test defs: rename requirement 'non-cross' -> 'native'
  testsuite: be more cross-compile friendly

1  2 
ChangeLog
tests/Makefile.in

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,26 -1,60 +1,83 @@@
+ 2011-05-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       testsuite: avoid re-running few tests with 'parallel-tests' option
+       Some tests in our testsuite use the 'simple-tests' driver only
+       marginally, or simply as a mean to conveniently check unrelated
+       invariants.  It makes little sense to force these tests to also
+       run with the 'parallel-tests' Automake option active, as doing so
+       offers no real gain in coverage, while often causing a measurable
+       overhead in execution time (for an already too-slow testsuite).
+       * tests/pr401.test (parallel_tests): Define to "no", to prevent
+       the generation of a sibling test script using the 'parallel-tests'
+       driver.
+       * tests/pr401b.test: Likewise.
+       * tests/pr401c.test: Likewise.
+ 2011-05-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       testsuite: allow tests to avoid the use of 'parallel-tests' option
+       * tests/gen-parallel-tests: Do not generate "siblings" for tests
+       that explicitly define the `parallel_tests', whether to "yes" or
+       to any other value.  Extend heading comments to give a rationale
+       for this behaviour.
+       * tests/README: Update.
+ 2011-05-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests/README: update obsoleted advice
+       * tests/README (Section "Writing test cases" subsection "Do"):
+       Do not suggest to use the `*-p.test' pattern for the names of
+       hand-written tests which use the `parallel-tests' Automake option.
+       Not only is this not respected by the existing tests, but it is
+       more likely to cause conflicts with auto-generated tests.
+       So, suggest to *avoid* using the `*-p.test' pattern in names
+       of hand-written tests instead.
+       (Section "Writing test cases" subsection "Do not"):  When
+       suggesting not to override Makefile variables using command
+       line arguments, do not use the badly outdated variables `U'
+       and 'ANSI2KNR' in the example; instead, use the more common
+       and typical `DESTDIR'.
+ 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-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      docs: parallel-tests is not experimental anymore
 +      The parallel-tests driver has now been used quite extensively
 +      by a fair number of real-world applications (e.g., GNU coreutils,
 +      GNU libtool, GNU grep, and various packages using Gnulib), and
 +      thus exposed to adequate on-field testing.  So there's no point
 +      in declaring it experimental anymore (which would risk to make
 +      potential users shy away from it).
 +      * doc/automake.texi (Simple Tests using parallel-tests): Do not
 +      declare the parallel-tests driver as "experimental" anymore.
 +
 +2011-05-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      check: document and test $(TEST_SUITE_LOG) overriding
 +      * doc/automake.texi (Simple Tests using parallel-tests): Explain
 +      how and why TEST_SUITE_LOG can be overridden at runtime.
 +      * tests/parallel-tests-log-override-1.test: New test, check that
 +      the newly documented idiom and similar usages are truly supported.
 +      * tests/parallel-tests-log-override-2.test: Likewise.
 +      * tests/parallel-tests-log-override-recheck.test: Likewise.
 +      * tests/Makefile.am (TESTS): Update.
 +
  2011-05-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        tests: fix spurious failure of txinfo21.test on FreeBSD
Simple merge