Hello,

On Fri, 22 Jun 2018 at 18:01, Jeff Law <l...@redhat.com> wrote:
>
> On 06/22/2018 05:35 AM, Tom de Vries wrote:
> > Hi,
> >
> > by default, guality invokes gdb with --quiet to avoid being unnecessarily
> > verbose for each test.  But as a consequence, we don't see which version of
> > gdb is used.
> >
> > This patch adds printing of the full path to the gdb used, as well as the
> > gdb version as printed by gdb.
> >
> > Tested on x86_64.
> >
> > OK for trunk?
> >
> > Thanks,
> > - Tom
> >
> > [testsuite/guality] Be verbose about gdb version used
> >
> > 2018-06-22  Tom de Vries  <tdevr...@suse.de>
> >
> >       * lib/gcc-gdb-test.exp (report_gdb): New proc.
> >       * g++.dg/guality/guality.exp: Use report_gdb.
> >       * gcc.dg/guality/guality.exp: Same.
> >       * gfortran.dg/guality/guality.exp: Same.
> OK.

It looks like this patch is causing problems when not building gdb. I
my GCC testing, I'm now seeing:
ERROR: tcl error sourcing /gcc/testsuite/gfortran.dg/guality/guality.exp.
ERROR: which: no aarch64-none-linux-gnu-gdb in
(/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/bin:/work/local/bin:/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/gcc3/utils/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin)
    while executing
"exec which $::env(GUALITY_GDB_NAME)"
    invoked from within
"report_gdb [exec which $::env(GUALITY_GDB_NAME)] [info script]"


> jeff

Reply via email to