From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 865 invoked by alias); 27 Sep 2013 17:42:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 852 invoked by uid 89); 27 Sep 2013 17:42:53 -0000 Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.222.218) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Sep 2013 17:42:53 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_50,MSGID_MULTIPLE_AT,SPAM_SUBJECT autolearn=no version=3.3.2 X-HELO: mailhost.u-strasbg.fr Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id B4EEE221061; Fri, 27 Sep 2013 19:42:49 +0200 (CEST) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id A49BF221439; Fri, 27 Sep 2013 19:42:49 +0200 (CEST) Received: from md14.u-strasbg.fr (md14.u-strasbg.fr [130.79.200.249]) by mr8.u-strasbg.fr (Postfix) with ESMTP id 7AA9A221061; Fri, 27 Sep 2013 19:42:47 +0200 (CEST) Received: from ms13.u-strasbg.fr (ms13.u-strasbg.fr [130.79.204.113]) by md14.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r8RHgk80018908 ; Fri, 27 Sep 2013 19:42:46 +0200 Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (Authenticated sender: mullerp) by ms13.u-strasbg.fr (Postfix) with ESMTPSA id 3CDD21FD8B; Fri, 27 Sep 2013 19:42:45 +0200 (CEST) From: "Pierre Muller" To: "'Tom Tromey'" Cc: "'gdb-patches'" References: <002901cebaf2$35ec65a0$a1c530e0$@muller@ics-cnrs.unistra.fr> <33207.6293569573$1380225714@news.gmane.org> <87pprufgl8.fsf@fleche.redhat.com> In-Reply-To: <87pprufgl8.fsf@fleche.redhat.com> Subject: RE: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command. Date: Fri, 27 Sep 2013 17:42:00 -0000 Message-ID: <000001cebba8$f861c560$e9255020$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013-09/txt/msg00965.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Tom Tromey > Envoy=E9=A0: vendredi 27 septembre 2013 17:08 > =C0=A0: Pierre Muller > Cc=A0: 'gdb-patches' > Objet=A0: Re: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" > command. >=20 > >>>>> "Pierre" =3D=3D Pierre Muller writes: >=20 > Pierre> This patch is to add > Pierre> maint set testsuite mode on/off > Pierre> command. > Pierre> Finally, thanks to Yao's patch about handling of flushing of > Pierre> stderr for mingw, it reduces to switching the > Pierre> stdout and stderr between binary and text mode. >=20 > I thought Yao had a different patch to really fix the problem. Yao posted a while ago a first proposition where stdout and stderr would be set to binary at start, even if normal usage (i.e. outside of the testsuite environment). https://sourceware.org/ml/gdb-patches/2013-08/msg00337.html But later, he came with another (old) idea of=20 allowing the testsuite to accept one or two \r before the \n. https://sourceware.org/ml/gdb-patches/2013-09/msg00497.html But, honestly, given the time I spent on it a few years ago, I doubt that this is an easier route... That is the reason of this proposal. Pierre Muller