]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotest/general.m4 (AT_INIT): Let --keywords also match
authorAkim Demaille <akim@epita.fr>
Thu, 13 Sep 2001 06:53:19 +0000 (06:53 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 13 Sep 2001 06:53:19 +0000 (06:53 +0000)
test group titles.
* tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
Remove all the other keywords.

ChangeLog
lib/autotest/general.m4
tests/atspecific.m4
tests/semantics.at
tests/tools.at

index d0f801478307b44bad4bdbee6c6dd9346d208d6e..9e6afbd58c02c10964ea02b0ddb482c28f476004 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-09-13  Akim Demaille  <akim@epita.fr>
+
+       * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
+       test group titles.
+       * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
+       Remove all the other keywords.
+
 2001-09-10  Akim Demaille  <akim@epita.fr>
 
        * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
index eb6471713e8a3454b5e4bc2b00c3f1ead8897b11..ada4acc37a8bba942c1d0d44bce30b74e115e346 100644 (file)
@@ -212,8 +212,9 @@ while test $[@%:@] -gt 0; do
         at_tests_selected=$at_help_all
         for at_keyword in `IFS=,; set X $[1]; shift; echo ${1+$[@]}`
         do
+          # It is on purpose that we match the test group titles too.
           at_tests_selected=`echo "$at_tests_selected" |
-                             egrep -i "^[[^;]]*;[[^;]]*;[[^;]]*;.*$at_keyword"`
+                             egrep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"`
         done
         at_tests_selected=`echo "$at_tests_selected" | sed 's/;.*//'`
         at_tests="$at_tests$at_tests_selected "
index 5c2a04f7887ca8b2386fd8bcc0fea250bc45c110..6fe738b81e6d80842979257c15e4287317a4747f 100644 (file)
@@ -161,7 +161,6 @@ AT_CHECK_ENV
 # New macros are not expected to depend upon obsolete macros.
 m4_define([AT_CHECK_MACRO],
 [AT_SETUP([$1])
-AT_KEYWORDS([$1])
 
 AT_CONFIGURE_AC([m4_default([$2], [$1])])
 
@@ -189,7 +188,7 @@ AT_CLEANUP()dnl
 # Remove config.hin to avoid `autoheader: config.hin is unchanged'.
 m4_define([AT_CHECK_AU_MACRO],
 [AT_SETUP([$1])
-AT_KEYWORDS([$1])
+AT_KEYWORDS([autoupdate])
 
 AT_CONFIGURE_AC([$1])
 
index a36e47507098d9eaab75c1e9af83442df7fa46e6..4fff3f67885c52a0b7aad02d7b3cdbb7f9d03557 100644 (file)
@@ -201,7 +201,6 @@ AT_CHECK_MACRO([AC_CHECK_TYPES],
 # Check that we properly dispatch properly to the old implementation
 # or to the new one.
 AT_SETUP([AC_CHECK_TYPES: backward compatibility])
-AT_KEYWORDS([AC_CHECK_TYPES])
 
 AT_DATA([configure.ac],
 [[AC_INIT
@@ -330,7 +329,7 @@ AT_CLEANUP(path)
 ## ---------------- ##
 
 AT_SETUP([[AC_C_BIGENDIAN]])
-AT_KEYWORDS([AC_C_BIGENDIAN,cross])
+AT_KEYWORDS([cross])
 
 # Make sure that AC_C_BIGENDIAN behave the same whether we are
 # cross-compiling or not.
index 2f2d6a248a0ab2cd872acd54231ee4b1f583e1f5..0de403c73a90792f99dc4a9f54b5d6d05759e6d1 100644 (file)
@@ -137,7 +137,6 @@ AT_CLEANUP
 # autoconf --trace: user macros
 # -----------------------------
 AT_SETUP([autoconf --trace: user macros])
-AT_KEYWORDS([autoconf,traces])
 
 
 m4_pattern_allow([^m4_(define|shift)$])
@@ -227,7 +226,6 @@ AT_CLEANUP
 # autoconf --trace: builtins
 # --------------------------
 AT_SETUP([autoconf --trace: builtins])
-AT_KEYWORDS([autoconf,traces])
 
 AT_DATA([configure.ac],
 [[define([active], [ACTIVE])