This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Extra diagnostic for tests
On Wed, Sep 13, 2006 at 12:18:01PM +0200, Mark Kettenis wrote:
> > From: Vladimir Prus <vladimir@codesourcery.com>
> > Date: Wed, 13 Sep 2006 13:52:16 +0400
> >
> > Hi,
> > at the moment, the dejagnu tests use PATH to find the gdb binary, and don't
> > report which gdb binary is used. As result, when running runtest manually on
> > one test, one can test with different gdb from the one used by 'make check'.
>
> There must be something wrong with your setup. I have a gdb somewhere
> in my PATH, but I'm damn sure the testsuite picks up the gdb in my
> build tree.
It does: but I suspect Vlad is using our local testing setup, which
actually tests outside of the build directory. The check for ../gdb
should be earlier than the path search.
We actually run just the testsuite configure script in an empty
directory, and 99.9% of tests work from there. Handy when testing
prebuilt packages.
--
Daniel Jacobowitz
CodeSourcery