From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by sourceware.org (Postfix) with ESMTPS id 8B99A385516E for ; Sat, 17 Dec 2022 00:26:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8B99A385516E 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-x34.google.com with SMTP id 586e51a60fabf-14455716674so5224092fac.7 for ; Fri, 16 Dec 2022 16:26:12 -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=lF7Mk5lg7nFFSpyJn+0NbPECxqr3gynFV0fOIQZe3b4=; b=C33aoy8NhlIqO9FPZ0+rhykwZ90plJFQ+9uxjfQgRhjpDRxVonrl4H0ilrIEVFsU5J CMQMShhGbkJ3CxSFsQXDvQnUUqRVxmQAET6bwHYohqMVmqx/OCqO0nnSHK7vZI/WZ17+ 8vKESxcuiHZ5DpwyyOqkYA8Vrc0GlvWuRUDKffx1ZD0lyhYHBWPQLYxYJTVSCQvdt896 ACme3xkwVmggSEQAxcJGNQcVLeET3O+mMhH3r8yb7kCgnucmNzuDtg6Ev7w3LPX0Poj8 dATMLb3jmrk0zvxMsixphdzdtZDMRFCVkbmdir9Qabnb/4pFY2uIIy2qGCNHkSxXKuAW AGLw== 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=lF7Mk5lg7nFFSpyJn+0NbPECxqr3gynFV0fOIQZe3b4=; b=X4f5Eaj8QUZEcCy4Qd3bHM3JLW0llEy3LbrYwAPotnACk21BZslzYN+igPQ5pB+jAQ mv2rgHFXSHQWElvjMIKA/UEe6yvRqvrEUFvEyMDufxDW56vum4iB2GiXYBz+orYRBJU+ V3nIcmUApOgGZPJUcToRBNI0MquOILFclzcE2+PnD7fJ0D3q+TDEID4s4QdYxWJ7UUZy wqHY0swso3455TV0ZS12x4YA1kpoaqaDLc5qIQc6IKt2z12m2g5VltaEIBeDPKpFa/S6 cDdqn+ao+60NFRq4Fy9n76YPZx2RbyEAToFxcNBqyWp3PcW5SR3wOJHlgx8vHPDrH/pa rBdg== X-Gm-Message-State: AFqh2kpzymqCqaT+zA3PQHLzptAtBr2oHhycfWyHw6h0KvQe9YfZNLjU LgpW4u3IrOIhEt5nFVaA8rBAcuvqGGbMLIbCKxj3Am8lh1g= X-Google-Smtp-Source: AMrXdXtz+CgEFb3Qm7aCjUAMb65bLPluMvyadHkTpm3Rb9dmAdDy1Bl7h2xDiXYWxrfs63AYsQzcXUpnqvY+f5dJ03k= X-Received: by 2002:a05:6870:de0d:b0:144:4557:320a with SMTP id qg13-20020a056870de0d00b001444557320amr989896oab.112.1671236771785; Fri, 16 Dec 2022 16:26:11 -0800 (PST) MIME-Version: 1.0 References: <3f62bac2-ac1b-5c55-2488-ede2389d35d2@netcologne.de> In-Reply-To: <3f62bac2-ac1b-5c55-2488-ede2389d35d2@netcologne.de> From: NightStrike Date: Fri, 16 Dec 2022 19:26:08 -0500 Message-ID: Subject: Re: testsuite under wine To: Thomas Koenig Cc: "fortran@gcc.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 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?