[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Overhaul Autotest's logging

From: Akim Demaille
Subject: Re: [RFC] Overhaul Autotest's logging
Date: Fri, 23 May 2003 08:38:18 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

 >> > mismatch between expected stderr and observed stderr because
 >> > of shell traces

 Bonzini> Note that my patch does not even attempt to do this.  I don't think
 Bonzini> it can be easily done, at least I don't know enough shell magic to
 Bonzini> achieve it.

Then you probably have inherited the bit of dubious magic that was
already implemented:

# Any line of stderr starting with leading blanks and a `+' are filtered
# out, since most shells when tracing include subshell traces in stderr.
# This may cause spurious failures when the test suite is run with `-x'.

$at_verbose "AT_LINE: AS_ESCAPE([$1])"
echo AT_LINE >$at_check_line_file
( $at_traceon; $1 ) >$at_stdout 2>$at_stder1
grep '^ *+' $at_stder1 >&2                   <=======
grep -v '^ *+' $at_stder1 >$at_stderr        <=======

 Bonzini> Applied.  Also updated NEWS to warn about the possible failures
 Bonzini> when -x is used together with experr.

Thanks!  Testing asap.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]