[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71-fyi-at-debug-args.patch
From: |
Akim Demaille |
Subject: |
71-fyi-at-debug-args.patch |
Date: |
Fri, 31 Aug 2001 15:31:12 +0200 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* 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.
Index: lib/autotest/general.m4
--- lib/autotest/general.m4 Thu, 30 Aug 2001 20:46:39 +0200 akim
+++ lib/autotest/general.m4 Fri, 31 Aug 2001 13:06:53 +0200 akim
@@ -94,6 +94,7 @@ m4_define([AT_data_files], [stdout expou
# How were we run?
at_cli_args=${1+"address@hidden"}
+at_debug_args=
. ./atconfig
@@ -166,6 +167,7 @@ m4_define([AT_data_files], [stdout expou
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 @@ Tests:
echo $at_n " $at_group$at_c"
( echo "#! /bin/sh"
echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$[0]" \
- '-v -d' "$at_cli_args" "$at_group" '${1+"address@hidden"}'
+ '-v -d' "$at_debug_args" "$at_group" '${1+"address@hidden"}'
echo 'exit 1'
) >debug-$at_group.sh
chmod +x debug-$at_group.sh
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 71-fyi-at-debug-args.patch,
Akim Demaille <=