]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
authorAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:34:46 +0000 (13:34 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:34:46 +0000 (13:34 +0000)
debug scripts, in particular passing explicitly listed tests to
run is stupid.

ChangeLog
lib/autotest/general.m4

index f3c3ed62d291f36e20ade0e6a969d4458fbc2ce4..c0e755671a119f768855b1d4365f58ce1a9d86f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-31  Akim Demaille  <akim@epita.fr>
+
+       * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
+       debug scripts, in particular passing explicitly listed tests to
+       run is stupid.
+
+       
 2001-08-31  Akim Demaille  <akim@epita.fr>
 
        * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
index cf8bd5e62b7662b25443f192c9e126dff79f36ab..08e367ad5b96912bc537d3154d1e0e74a42c0357 100644 (file)
@@ -94,6 +94,7 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 
 # How were we run?
 at_cli_args=${1+"$[@]"}
+at_debug_args=
 
 . ./atconfig
 
@@ -166,6 +167,7 @@ while test $[@%:@] -gt 0; do
         at_tests="$at_tests$at_range ";;
 
     *=*)
+      at_debug_args="$1"
       at_envvar=`expr "x$[1]" : 'x\([[^=]]*\)='`
       # Reject names that are not valid shell variable names.
       expr "x$at_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
@@ -431,7 +433,7 @@ elif test $at_debug = false; then
     echo $at_n " $at_group$at_c"
     ( echo "#! /bin/sh"
       echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$[0]" \
-           '-v -d' "$at_cli_args" "$at_group" '${1+"$[@]"}'
+           '-v -d' "$at_debug_args" "$at_group" '${1+"$[@]"}'
       echo 'exit 1'
     ) >debug-$at_group.sh
     chmod +x debug-$at_group.sh