/[autoconf]/autoconf/lib/autotest/general.m4
ViewVC logotype

Diff of /autoconf/lib/autotest/general.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.141 by dprice, Mon Mar 31 20:25:52 2003 UTC revision 1.142 by dprice, Tue Apr 29 20:54:12 2003 UTC
# Line 214  for at_option Line 214  for at_option
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[[^=]]*=\(.*\)'`
# Line 295  do Line 294  do
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.
# Line 330  if test -n "$at_keywords"; then Line 329  if test -n "$at_keywords"; then
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.
# Line 802  m4_divert_push([TESTS])dnl Line 801  m4_divert_push([TESTS])dnl
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
# Line 810  m4_define([AT_KEYWORDS], Line 809  m4_define([AT_KEYWORDS],
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

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26