From: Stefano Lattarini Date: Wed, 29 Jun 2011 07:44:14 +0000 (+0200) Subject: docs: explain why AM_TESTS_ENVIRONMENT must be semicolon-terminated X-Git-Tag: ng-0.5a~156^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e334a272fa601bebb5896e25cfb63f34822a275;p=thirdparty%2Fautomake.git docs: explain why AM_TESTS_ENVIRONMENT must be semicolon-terminated * doc/automake.texi (Simple Tests using parallel-tests): Ditto, and related adjustments. Suggestion by Ralf Wildenhues. --- diff --git a/ChangeLog b/ChangeLog index 7c8888e1b..64c2bbb10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-06-29 Stefano Lattarini + + docs: explain why AM_TESTS_ENVIRONMENT must be semicolon-terminated + * doc/automake.texi (Simple Tests using parallel-tests): Ditto, and + related adjustments. + Suggestion by Ralf Wildenhues. + 2011-06-29 Stefano Lattarini docs: fix unportable example of AM_TESTS_ENVIRONMENT usage diff --git a/doc/automake.texi b/doc/automake.texi index d60bfe49b..da2e2b467 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -8740,10 +8740,10 @@ but should be reserved for the user. The @code{AM_TESTS_ENVIRONMENT} variable can be used to run initialization code and set environment variables for the tests' runs. The user can still employ the @code{TESTS_ENVIRONMENT} variable to override settings -from @code{AM_TESTS_ENVIRONMENT}. Note that, for implementation reasons, -if the @code{AM_TESTS_ENVIRONMENT} variable is set, its contents -@emph{must} be terminated by a semicolon. Here is an example of a -slightly elaborate definition: +from @code{AM_TESTS_ENVIRONMENT}; for that to work portably, however, +the contents of a non-empty @code{AM_TESTS_ENVIRONMENT} @emph{must} be +terminated by a semicolon. Here is an example of a slightly elaborate +definition: @example AM_TESTS_ENVIRONMENT = \