]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
authorDerek Price <derek@ximbiot.com>
Thu, 14 Aug 2003 13:49:05 +0000 (13:49 +0000)
committerDerek Price <derek@ximbiot.com>
Thu, 14 Aug 2003 13:49:05 +0000 (13:49 +0000)
DESCRIPTION rather than FILE and LINE.  Shorten result to fit in new,
shorter column three.  Add DESCRIPTION to log file content.

ChangeLog
lib/autotest/general.m4

index f39f5f29ece937ba55561f8d6393b1ae95a22559..f499acc9c22913085608f25ab7ba170ccb9db5ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-14  Derek Price  <derek@ximbiot.com>
+
+       * 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  <derek@ximbiot.com>
 
        * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
index 0c735e687f0e4b37e833d2fa4d8e11a48e991479..3d2d591f5861fa84bbe8707519755145f558a611 100644 (file)
@@ -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
 ])