From: Derek Price Date: Thu, 14 Aug 2003 13:49:05 +0000 (+0000) Subject: * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print X-Git-Tag: AUTOCONF-2.57b~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c4fcea6976678080b6102d7dfc0dd940bc63e9;p=thirdparty%2Fautoconf.git * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print DESCRIPTION rather than FILE and LINE. Shorten result to fit in new, shorter column three. Add DESCRIPTION to log file content. --- diff --git a/ChangeLog b/ChangeLog index f39f5f29..f499acc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-14 Derek Price + + * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print + DESCRIPTION rather than FILE and LINE. Shorten result to fit in new, + shorter column three. Add DESCRIPTION to log file content. + 2003-08-13 Derek Price * lib/autotest/general.m4 (AT_INIT): Correct typo in final status diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 0c735e68..3d2d591f 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -652,23 +652,23 @@ _ATEOF at_errexit=false ;; *:77) - at_msg="ok (skipped near \``cat $at_check_line_file`')" + at_msg="skipped (`cat $at_check_line_file`)" at_skip_list="$at_skip_list $at_group" at_errexit=false ;; yes:*) - at_msg="expected failure (failed near \``cat $at_check_line_file`')" + at_msg="expected failure (`cat $at_check_line_file`)" at_xfail_list="$at_xfail_list $at_group" at_errexit=false ;; no:*) - at_msg="FAILED near \``cat $at_check_line_file`'" + at_msg="FAILED (`cat $at_check_line_file`)" at_fail_list="$at_fail_list $at_group" at_errexit=$at_errexit_p ;; esac echo $at_msg - at_log_msg="$at_group. $at_setup_line: $at_msg" + at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg" case $at_status in 0|77) # $at_times_file is only available if the group succeeded or @@ -913,8 +913,9 @@ m4_append([AT_groups_all], [ ]m4_defn([AT_ordinal])) m4_divert_push([TESTS])dnl AT_ordinal ) @%:@ AT_ordinal. m4_defn([AT_line]): $1 at_setup_line='m4_defn([AT_line])' - $at_quiet $ECHO_N "m4_format([[%3d: %-18s]], - AT_ordinal, m4_defn([AT_line]))[]$ECHO_C" + at_desc='$1' + $at_quiet $ECHO_N "m4_format([[%3d: %-45s]], + AT_ordinal, [$1])[]$ECHO_C" m4_divert_push([TEST_SCRIPT])dnl ])