This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] gdb/testsuite/gdb.exp not taking environment variable.
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: manjo at austin dot ibm dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 29 Jul 2004 19:15:58 -0400
- Subject: Re: [RFC] gdb/testsuite/gdb.exp not taking environment variable.
- References: <Pine.LNX.4.58.0407291512180.9771@lazy>
Hi Manoj,
TOOL_EXECUTABLE is not an environment variable. It's a TCL variable
which is initalized by runtest.exp in dejagnu, set by the
"--tool_exec" flag.
So the test-runner would say:
runtest --tool_exec /path/path/my_gdb ...
And not: "export TOOL_EXECUTABLE=/path/path/my_gdb ; make check".
You can do this at the 'make check' level with:
make check RUNTESTFLAGS="--tool_exec /path/path/my_gdb"
Or:
export RUNTESTFLAGS="--tool_exec /path/path/my_gdb"
make -e check
I don't want gdb/lib.exp to change the interface of an existing
variable name which is imported from runtest.exp.
Michael C