]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Improve autotest testsuite summary message.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 13 Sep 2009 08:05:10 +0000 (10:05 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 13 Sep 2009 08:05:10 +0000 (10:05 +0200)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autotest/general.m4

index f854847bd451d0294884c84eeb5406a4640a6bfd..0eb337319d95d5aba21f9703524980b1d3c2d669 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       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)
index ad342e8417d70c3f9dedf231df559f3189a0366a..2c164b55ab65d82952d6b6e9fe435bac6015ada5 100644 (file)
@@ -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: <AT_PACKAGE_BUGREPORT>
    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],