/[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.133 by eggert, Sun Apr 21 06:35:08 2002 UTC revision 1.134 by eggert, Wed May 29 22:27:40 2002 UTC
# Line 251  while test $[@%:@] -gt 0; do Line 251  while test $[@%:@] -gt 0; do
251          do          do
252            # It is on purpose that we match the test group titles too.            # It is on purpose that we match the test group titles too.
253            at_groups_selected=`echo "$at_groups_selected" |            at_groups_selected=`echo "$at_groups_selected" |
254                               egrep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"`                                grep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"`
255          done          done
256          at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'`          at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'`
257          # Smash the end of lines.          # Smash the end of lines.
# Line 335  AT_TESTSUITE_NAME test groups: Line 335  AT_TESTSUITE_NAME test groups:
335  _ATEOF  _ATEOF
336    # "  1 42  45 " => "^(1|42|45);".    # "  1 42  45 " => "^(1|42|45);".
337    at_groups_pattern=`echo "$at_groups" | sed 's/^  *//;s/  *$//;s/  */|/g'`    at_groups_pattern=`echo "$at_groups" | sed 's/^  *//;s/  *$//;s/  */|/g'`
   at_groups_pattern="^(${at_groups_pattern});"  
338    echo "$at_help_all" |    echo "$at_help_all" |
     egrep -e "$at_groups_pattern" |  
339      awk 'BEGIN { FS = ";" }      awk 'BEGIN { FS = ";" }
340             { if ($[1] !~ /^('"$at_groups_pattern"')$/) next }
341           { if ($[1]) printf " %3d: %-18s %s\n", $[1], $[2], $[3]           { if ($[1]) printf " %3d: %-18s %s\n", $[1], $[2], $[3]
342             if ($[4]) printf "      %s\n", $[4] } '             if ($[4]) printf "      %s\n", $[4] } '
343    exit 0    exit 0
# Line 849  $at_verbose "AT_LINE: AS_ESCAPE([$1])" Line 848  $at_verbose "AT_LINE: AS_ESCAPE([$1])"
848  echo AT_LINE >$at_check_line_file  echo AT_LINE >$at_check_line_file
849  ( $at_traceon; $1 ) >$at_stdout 2>$at_stder1  ( $at_traceon; $1 ) >$at_stdout 2>$at_stder1
850  at_status=$?  at_status=$?
851  egrep '^ *\+' $at_stder1 >&2  grep '^ *+' $at_stder1 >&2
852  egrep -v '^ *\+' $at_stder1 >$at_stderr  grep -v '^ *+' $at_stder1 >$at_stderr
853  at_failed=false  at_failed=false
854  dnl Check stderr.  dnl Check stderr.
855  m4_case([$4],  m4_case([$4],

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134

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