From: Stefano Lattarini Date: Fri, 20 May 2011 22:16:25 +0000 (+0200) Subject: Merge branch 'maint' into parallel-tests-maint X-Git-Tag: v1.11.1b~26^2~8^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c237a6208c74eb445613e5237b4749d62f18b28;p=thirdparty%2Fautomake.git Merge branch 'maint' into parallel-tests-maint * 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 --- 5c237a6208c74eb445613e5237b4749d62f18b28 diff --cc ChangeLog index 1207390cf,363112927..6eb09d7df --- a/ChangeLog +++ b/ChangeLog @@@ -1,26 -1,60 +1,83 @@@ + 2011-05-20 Stefano Lattarini + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 tests: fix spurious failure of txinfo21.test on FreeBSD