[RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.

Eli Zaretskii eliz@gnu.org
Fri Sep 27 05:52:00 GMT 2013


> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Cc: <gdb-patches@sourceware.org>
> Date: Thu, 26 Sep 2013 22:13:47 +0200
> 
> > 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?

Yes, but it puts the burden of remembering that on the person who
writes the test, which IMO is sub-optimal.



More information about the Gdb-patches mailing list