* 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.
This commit is contained in:
Akim Demaille 2001-09-13 06:53:19 +00:00
parent 10b30c8904
commit c77d29d43d
5 changed files with 11 additions and 7 deletions

View File

@ -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

View 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 "

View 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])

View 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.

View 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])