autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

empty test suite


From: Eric Blake
Subject: empty test suite
Date: Wed, 5 Apr 2006 15:58:31 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Low hanging fruit (I was actually surprised it was this easy).

2006-04-05  Eric Blake  <address@hidden>

        * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
        empty test suite works.
        * tests/autotest.at (Empty test suite): Remove xfail.

Index: tests/autotest.at
===================================================================
RCS file: /sources/autoconf/autoconf/tests/autotest.at,v
retrieving revision 1.10
diff -u -b -r1.10 autotest.at
--- tests/autotest.at   14 Mar 2006 07:20:15 -0000      1.10
+++ tests/autotest.at   5 Apr 2006 15:54:12 -0000
@@ -78,11 +78,11 @@
 ## Empty test suite.  ##
 ## ------------------ ##
 
-# This is not a sensible thing to do, but the user should not get a unhelpful
-# error message, which is what happens presently.
+# This is not a sensible thing to do, but the user should not get an unhelpful
+# error message.
 AT_CHECK_AT([Empty test suite],
 [[AT_INIT([empty test suite])
-]], [:])
+]])
 
 
 ## ----------------------------------------------------- ##
Index: lib/autotest/general.m4
===================================================================
RCS file: /sources/autoconf/autoconf/lib/autotest/general.m4,v
retrieving revision 1.202
diff -u -b -r1.202 general.m4
--- lib/autotest/general.m4     3 Apr 2006 04:47:02 -0000       1.202
+++ lib/autotest/general.m4     5 Apr 2006 15:46:31 -0000
@@ -172,6 +172,8 @@
          m4_defn([AT_PACKAGE_STRING])[ test suite]m4_ifval([$1], [: $1]))
 m4_define([AT_ordinal], 0)
 m4_define([AT_banner_ordinal], 0)
+m4_define([AT_groups_all], [])
+m4_define([AT_help_all], [])
 AS_INIT
 AT_COPYRIGHT(
 [Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software






reply via email to

[Prev in Thread] Current Thread [Next in Thread]