]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix autotest testsuite -v output to print test group title.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 25 Apr 2010 12:17:27 +0000 (14:17 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 26 Apr 2010 18:32:59 +0000 (20:32 +0200)
* lib/autotest/general.m4 (AT_CLEANUP): Actually print test
title in verbose output.  Fixes AUTOCONF-2.57-101-gc102ed8
regression.
* tests/autotest.at (AT_CHECK_AT_TITLE): Amend macro to check
for test title in -v output.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autotest/general.m4
tests/autotest.at

index 85d2b11adededffd357929981f264d29976b683d..c3ab2544d34600162a65cfe73bbc9f6596e3161b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-04-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix autotest testsuite -v output to print test group title.
+       * lib/autotest/general.m4 (AT_CLEANUP): Actually print test
+       title in verbose output.  Fixes AUTOCONF-2.57-101-gc102ed8
+       regression.
+       * tests/autotest.at (AT_CHECK_AT_TITLE): Amend macro to check
+       for test title in -v output.
+
 2010-04-26  Eric Blake  <eblake@redhat.com>
 
        Clarify octal escapes with tr.
index c12f7d9e18a55af62788e3db4fbc8457d9fe7a34..1aa147d8d6b6e6a9f5c6753b14d669c0e23ea8d6 100644 (file)
@@ -1846,7 +1846,7 @@ m4_divert_pop([TEST_SCRIPT])dnl Back to TEST_GROUPS
 AT_xfail
 echo "#                             -*- compilation -*-" >> "$at_group_log"
 (
-  AS_ECHO(["AT_ordinal. m4_defn([AT_line]): testing $1..."])
+  AS_ECHO(["AT_ordinal. m4_defn([AT_line]): testing $at_desc ..."])
   $at_traceon
 m4_undivert([TEST_SCRIPT])dnl Insert the code here
   set +x
index 4eca4b0e1db32fbce4573f805e396b2b09bbe9c9..d92aa1ad91369814c379e1c2cc1bece4cc33f197 100644 (file)
@@ -674,6 +674,10 @@ s/^.\{]]]m4_default($5, 53)[[[\}ok.*/ok/p
 [[$3
 ok
 ]])
+AT_CHECK([[$CONFIG_SHELL ./micro-suite -v |
+           sed -n 's/.*testing \(.*\) \.\.\./\1/p']],,
+[[$3
+]])
 AT_CHECK([[$CONFIG_SHELL ./micro-suite -l |
           sed -n 's/.*[0-9]: [^         ][^     ]*[     ][      ]*\(.*[^        ]\)[    ]*/\1/p']],,
 [[$3