From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) by sourceware.org (Postfix) with ESMTPS id 06684388D77B; Sat, 17 Dec 2022 23:24:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 06684388D77B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-144bd860fdbso7645805fac.0; Sat, 17 Dec 2022 15:24:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IAx0wRpxK9QaxVoorobQ9c+4A1FlUoNvUUJ3cnqqpEg=; b=T4CDkx5hGJlKpfcNherl6/pIVQmSVM++QYSACaGb5IhrhKbQzY/jqZdG7kEfbztbfc 3icYV3oK8iAIXKm62sRzcy3E0JUpemqM7PfCzJPRG7xzIZViIboBPK7VYuDJDEqKUdf8 dprrNtIpJbn0YyS+2IsLgrlkYY5hhDqNDSy8fX0rMNuJGBmn5ZvnPWrNbYSfh4BRjlDY laiMKHc/+S8NVB4QxCZ6j0bMN0ovf+92ifdUE/R1MXPo1521Bsur1aQyboOmBxwDDk9B iN3vQBpl4KKtkvfJb7jHWSEAtOlmR2EAHSyJ1xsO4di61dCRfGim0KS0oYZ+i8obU8Zb QfGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IAx0wRpxK9QaxVoorobQ9c+4A1FlUoNvUUJ3cnqqpEg=; b=2YJdcsOusAh2EW0nXNcm/riJ1JigNxJWi+5v0AFXXTPKQNYN3YO1eAnZWfg2Yg7qXb 9jklp06ZqQ6Jx8KFzwg2r8si9+O4oME/mD7nIM2ENsGISmh2K2sA+m9A7kNbmsAiBY+i CXTGf/Jfn0oIW1jP3FGSQn9IEEilRd4EUsvefPjYSvmeHQKyG1HeZNz+oPRXEi3qz//F TFlwgYPd+PCIwGoGx1HoUvAUKMPcYB6TzPMe5vjVTKEoJXVPQNEwwOtdgRiwKhzgLt85 qtvnH5yszEd9pjjWIvTyhq6+1aBlZCAMsSeocS404/XJi8jHD7+s83LV1MqIV7Ljto3b pSsA== X-Gm-Message-State: AFqh2kq+by7xCoZWCcX5/3RcYm1TYGLYAD/K2Cm7wg0DpLxgOK1t8Qyr knWZCybskzPYj3DVSrPreexKMJUsCTvkxdJ1i0ICU4BU03s= X-Google-Smtp-Source: AMrXdXvfqFTymEfL6mMyBlOaL9laF+XEml49TUsHc80ricXCyq3lTzrT0w1shH5OQ52EFT1OZ2EZwMkOO/ALpjYPWHs= X-Received: by 2002:a05:6870:de0d:b0:144:4557:320a with SMTP id qg13-20020a056870de0d00b001444557320amr1165461oab.112.1671319447977; Sat, 17 Dec 2022 15:24:07 -0800 (PST) MIME-Version: 1.0 References: <3f62bac2-ac1b-5c55-2488-ede2389d35d2@netcologne.de> <19a6b738-ad34-d145-1202-d2c7c474b272@netcologne.de> In-Reply-To: <19a6b738-ad34-d145-1202-d2c7c474b272@netcologne.de> From: NightStrike Date: Sat, 17 Dec 2022 18:24:04 -0500 Message-ID: Subject: Re: testsuite under wine To: Thomas Koenig Cc: "fortran@gcc.gnu.org" , gcc mailing list , dejagnu@gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sat, Dec 17, 2022 at 5:52 AM Thomas Koenig wrote: > > On 17.12.22 01:26, NightStrike wrote: > > On Fri, Dec 16, 2022 at 1:44 AM Thomas Koenig wrote: > >> > >> On 16.12.22 03:20, NightStrike via Fortran wrote: > >> > >>> When I run the testsuite under wine, I'm getting a lot of ANSI escape > >>> sequences. We had fixed this long ago, but it seems to be back. Any > >>> idea what I should change in my configuration to have this not happen? > >> > >> This should probably be fixed properly in some *.exp file, but you can > >> try setting the GCC_COLORS environment variable to an empty string > >> before running the test. > > > > That didn't help. It looks like this is always escape 25h to start > > the output and 25l to end it, which I think is turning the cursor on > > and off (based on https://en.wikipedia.org/wiki/ANSI_escape_code). I > > apparently fixed this previously by building wine with > > --without-curses > > (https://www.mail-archive.com/gcc@gcc.gnu.org/msg86366.html), but that > > option to wine was removed. Is there a way to hack this on the Deja > > side to ignore the escapes? Or to tell it to run in a way that makes > > wine not emit them? > > Truth is, I don't know. > > I have included the gcc mailing list in this reply, where more > knowledgeable people can be found :-) Thanks. I'm including the dejagnu list, maybe someone there can help, too. For clarity, this is an example of what I see: Output was: ^[[mM^[[?25h^[[?25ly^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l1^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[ ?25h^[[?25l8^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^M^M ^[[?25lM^[[?25h^[[?25ly^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l2^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1 ^[[?25h^[[?25l2^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^M^M ^[[?25lL^[[?25h^[[?25lo^[[?25h^[[?25lc^[[?25h^[[?25la^[[?25h^[[?25ll^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l1^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^[ [?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^M^M ^[[?25lL^[[?25h^[[?25lo^[[?25h^[[?25lc^[[?25h^[[?25la^[[?25h^[[?25ll^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l2^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^[ [?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^M^M ^[[?25lL^[[?25h^[[?25lo^[[?25h^[[?25lc^[[?25h^[[?25la^[[?25h^[[?25ll^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l1^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^[ [?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^M^M ^[[?25lL^[[?25h^[[?25lo^[[?25h^[[?25lc^[[?25h^[[?25la^[[?25h^[[?25ll^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l2^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^[ [?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^M^M ^[[?25lL^[[?25h^[[?25lo^[[?25h^[[?25lc^[[?25h^[[?25la^[[?25h^[[?25ll^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l1^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^[ [?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^M^M ^[[?25lL^[[?25h^[[?25lo^[[?25h^[[?25lc^[[?25h^[[?25la^[[?25h^[[?25ll^[[?25h^[[?25l_^[[?25h^[[?25lR^[[?25h^[[?25l2^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l:^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l1^[[?25h^[[?25l2^[[?25h^[ [?25l^[[K^[[1C^[[?25h^[[?25l3^[[?25h^[[?25l4^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l5^[[?25h^[[?25l6^[[?25h^[[?25l^[[K^[[1C^[[?25h^[[?25l7^[[?25h^[[?25l8^[[?25h^M^M ^M^M Should match: My_R1 : 78 56 34 12.* My_R2 : 12 34 56 78.* Local_R1 : 78 56 34 12.* Local_R2 : 12 34 56 78.* Local_R1 : 78 56 34 12.* Local_R2 : 12 34 56 78.* Local_R1 : 78 56 34 12.* Local_R2 : 12 34 56 78.*