Re: [RFC] gdb/testsuite/gdb.exp not taking environment variable.

Michael Chastain
2004-07-31T02:12:38Z

Manoj Iyer <manjo@austin.ibm.com> wrote:
> Cool! I will use --tool_exec instead. Is this documented some place? for
> my future reference?

With dejagnu 1.4.4, it's not documented in 'man runtest', but it is
listed in 'runtest --help', and mentioned in doc/overview.ps and
doc/user.sgml in the dejagnu 1.4.4 doc/ subtree.

Also, by the way, dejagnu thinks that it is testing one tool at a time.
It doesn't understand that gdb needs to specify several other tools
as well (versions of gcc and binutils). There is some confusion about
this in lib/java.exp where java_init uses TOOL_EXECUTABLE to initialize
GCJ_UNDER_TEST. I need to fix that. Until then, if you set
TOOL_EXECUTABLE, I think the Java tests will screw up.

Michael C