[Bash-completion-devel] BASH_XTRACEFD and scripts to run tests.

Crestez Dan Leonard cdleonard at gmail.com
Sat Feb 20 21:08:19 UTC 2010


On Fri, 2010-02-19 at 22:49 +0100, Freddy Vulto wrote: 
> On 100217 19:29, Crestez Dan Leonard wrote:
> > DejaGnu claims to have a powerful configuration system and it's been
> > used in very complex situations. Could anyone point me to a
> > straight-forward way to add an option like this? 
> 
> Maybe you can pass the BASH_XTRACEFD via the --tool_opts option of
> runtest?  Within the testsuite we could then examine the TOOL_OPTIONS
> tcl variable and set BASH_XTRACEFD via `assert_bash_exec()'.
I have the feeling that --tool_opts/TOOL_OPTIONS is supposed to be
concatenated to --tool_exec/TOOL_EXECUTABLE.

> Where do you see a tclvar option?
Apparently you can pass KEY=value arguments to runtest. I found this in
info dejagnu, it's not in the man page. Uppercase seems to be mandatory.

Anyway; here's what I came up with. I'll commit this later unless there
are any objections (like breaking crontabs).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtrace.diff
Type: text/x-patch
Size: 6563 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20100220/31238c11/attachment.bin>


More information about the Bash-completion-devel mailing list