debug scripts, in particular passing explicitly listed tests to
run is stupid.
+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'.
# How were we run?
at_cli_args=${1+"$[@]"}
+at_debug_args=
. ./atconfig
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 &&
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