This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Eli Zaretskii'" <eliz at gnu dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 26 Sep 2013 22:13:47 +0200
- Subject: RE: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.
- Authentication-results: sourceware.org; auth=none
- References: <"002901cebaf2$35ec65a0$a1c530e0$ at muller"@ics-cnrs.unistra.fr> <"003201cebaf3$338a8b60$9a9fa220$ at muller"@ics-cnrs.unistra.fr> <83li2jfis1 dot fsf at gnu dot org>
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Eli Zaretskii
> Envoyé : jeudi 26 septembre 2013 22:08
> À : Pierre Muller
> Cc : gdb-patches@sourceware.org
> Objet : Re: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off"
> command.
>
> > From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> > Date: Thu, 26 Sep 2013 22:01:33 +0200
> >
> > This patch is to add
> > maint set testsuite mode on/off
> > command.
>
> Shouldn't this command be supported on all platforms, and be a no-op
> on all of them but MinGW? Otherwise the test suite will fail for
> tests that use this setting, won't it?
Yes, this is indeed a possibility,
but I think that I suggested this already some time ago,
and that the feedback was not very positive...
Anyhow, take a look at part 4 of the patch series,
which adds "-iex {maint set testsuite-mode on}" to GDBINTERNALFLAGS
if, and only if, the host is *-*-mingw*.
This should avoid the problem you raise, no?
Pierre Muller