214 |
do |
do |
215 |
# If the previous option needs an argument, assign it. |
# If the previous option needs an argument, assign it. |
216 |
if test -n "$at_prev"; then |
if test -n "$at_prev"; then |
217 |
eval "$at_prev=\$at_option" |
at_option=$at_prev=$at_option |
218 |
at_prev= |
at_prev= |
|
continue |
|
219 |
fi |
fi |
220 |
|
|
221 |
at_optarg=`expr "x$at_option" : 'x[[^=]]*=\(.*\)'` |
at_optarg=`expr "x$at_option" : 'x[[^=]]*=\(.*\)'` |
294 |
|
|
295 |
# Keywords. |
# Keywords. |
296 |
--keywords | -k ) |
--keywords | -k ) |
297 |
at_prev=at_keywords |
at_prev=--keywords |
298 |
;; |
;; |
299 |
--keywords=* ) |
--keywords=* ) |
300 |
at_keywords=$at_optarg |
at_keywords="$at_keywords,$at_optarg" |
301 |
;; |
;; |
302 |
m4_divert_pop([PARSE_ARGS])dnl |
m4_divert_pop([PARSE_ARGS])dnl |
303 |
dnl Process *=* last to allow for user specified --option=* type arguments. |
dnl Process *=* last to allow for user specified --option=* type arguments. |
329 |
do |
do |
330 |
# It is on purpose that we match the test group titles too. |
# It is on purpose that we match the test group titles too. |
331 |
at_groups_selected=`echo "$at_groups_selected" | |
at_groups_selected=`echo "$at_groups_selected" | |
332 |
grep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"` |
grep -i "^[[^;]]*;[[^;]]*.*[[; ]]$at_keyword[[ ;]]"` |
333 |
done |
done |
334 |
at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'` |
at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'` |
335 |
# Smash the end of lines. |
# Smash the end of lines. |
801 |
# --------------------- |
# --------------------- |
802 |
# Declare a list of keywords associated to the current test group. |
# Declare a list of keywords associated to the current test group. |
803 |
m4_define([AT_KEYWORDS], |
m4_define([AT_KEYWORDS], |
804 |
[m4_append_uniq([AT_keywords], [$1], [,])]) |
[m4_append_uniq([AT_keywords], [$1], [ ])]) |
805 |
|
|
806 |
|
|
807 |
# AT_CLEANUP |
# AT_CLEANUP |
809 |
# Complete a group of related tests. |
# Complete a group of related tests. |
810 |
m4_define([AT_CLEANUP], |
m4_define([AT_CLEANUP], |
811 |
[m4_append([AT_help], |
[m4_append([AT_help], |
812 |
at_help_all=$at_help_all'm4_defn([AT_ordinal]);m4_defn([AT_line]);m4_defn([AT_description]);m4_ifdef([AT_keywords], [m4_defn([AT_keywords])]) |
at_help_all=$at_help_all'm4_defn([AT_ordinal]);m4_defn([AT_line]);m4_defn([AT_description]);m4_ifdef([AT_keywords], [m4_defn([AT_keywords])]); |
813 |
' |
' |
814 |
)dnl |
)dnl |
815 |
$at_times_skip || times >$at_times_file |
$at_times_skip || times >$at_times_file |