From: Ralf Wildenhues Date: Sun, 13 Sep 2009 08:05:10 +0000 (+0200) Subject: Improve autotest testsuite summary message. X-Git-Tag: v2.65~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4113eba0c42054a7caf6377a57b28cfd775381d;p=thirdparty%2Fautoconf.git Improve autotest testsuite summary message. * lib/autotest/general.m4 (AT_INIT): Hint at the toplevel log only if not $at_debug_p. Always hint at the per-test output. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index f854847b..0eb33731 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-09-13 Ralf Wildenhues + Improve autotest testsuite summary message. + * lib/autotest/general.m4 (AT_INIT): Hint at the toplevel log + only if not $at_debug_p. Always hint at the per-test output. + Four new autoupdate tests, expected failures. * tests/tools.at (autoupdating macros recursively) (autoupdating with m4@&t@_pushdef, autoupdating with AC_REQUIRE) diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index ad342e84..2c164b55 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -1564,22 +1564,23 @@ else AS_BOX([$as_me.log was created.]) echo - AS_ECHO(["Please send \`${at_testdir+${at_testdir}/}$as_me.log' ]dnl -[and all information you think might help: + if $at_debug_p; then + at_msg='per-test log files' + else + at_msg="\`${at_testdir+${at_testdir}/}$as_me.log'" + fi + AS_ECHO(["Please send $at_msg and all information you think might help: To: Subject: @<:@AT_PACKAGE_STRING@:>@ $as_me: dnl $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}dnl $at_xpass_list${at_xpass_list:+ passed unexpectedly} + +You may investigate any problem if you feel able to do so, in which +case the test suite provides a good starting point. Its output may +be found below \`${at_testdir+${at_testdir}/}$as_me.dir'. "]) - if test $at_debug_p = false; then - echo - echo 'You may investigate any problem if you feel able to do so, in which' - echo 'case the test suite provides a good starting point. Its output may' - AS_ECHO(["be found below \`${at_testdir+${at_testdir}/}$as_me.dir'."]) - echo - fi - exit 1 + exit 1 fi exit 0 @@ -1595,7 +1596,7 @@ m4_divert([KILL]) # _AT_ARG_OPTION(OPTIONS,HELP-TEXT,[ARGS],[ACTION-IF-GIVEN], # [ACTION-IF-NOT-GIVEN]) -# --------------------------------------------------------------------------- +# ---------------------------------------------------------- # Internal implementation of AT_ARG_OPTION & AT_ARG_OPTION_ARG m4_defun([_AT_ARG_OPTION], [m4_divert_once([HELP_OTHER],