From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id 32D1A385AC34 for ; Mon, 5 Sep 2022 12:29:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 32D1A385AC34 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-wr1-x430.google.com with SMTP id f15so6407066wrw.3 for ; Mon, 05 Sep 2022 05:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date; bh=3Fezzl5gDHzgjRepx5VzBRTNqrbnMaQ7NU8Ag95tGaA=; b=mdzZHJJi/wyZoeRXSynol+hZV/hmevOL0GObWJ5xwW+dSq37ao7C0RixUBFTSTecnv +LkHopa5nQzFhT/m7dAoBXExqllKdoBQ1ijrZ2ejB1ifL7bimjWE0buvAGfwLvuR/Dsl BxP2nKIenBAkOy8OobtlfvuL11ADs9xuTUXKM5uGhd9p2xS/DxHapQL8cdvTnCwA5DpW mK4HXcG+d2GoF5tE+v2n4fMA0N7dD0ry2Di7MJ8mWgZKUIbAfdSaUfKyfn/S4K1E9quX alKuJwUc+dSCnSe9E+ByhUlC2DxX0DWjfTvIVykZfueJoavRcSI89ko1zWrEFfPUBPr6 FfDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=3Fezzl5gDHzgjRepx5VzBRTNqrbnMaQ7NU8Ag95tGaA=; b=5zZwJMh/rDFdBSOJpoITFjkbw7WF7eL4EqbrLreqt9m7OD7LRhFmSLKgAwwuAL9/bG mT3O2Egvcz7Xs667HB45RO0DKq5MSWxh2K30fYx+gGo5kN40Hb6ykDZ1hs7hW5Q6FBZ3 qPHj26pJF51DCjheQBx3Ix2JBfHo5eFRTMZrffRYYNPFGCarF6D/Yv+32/fmhJoqma7r drzqBoUQfib6nK4UUTsUnINcVQn835kpJDTdgttsK8ht6nUlahMuWLoPSZDNmrIYz6QC saW/RFkK4CNOzT4oVcvVk05CzEJUUuciooXia/Sxcosj/S/ADTw5N0JFIDow49c7+Wo6 QjNA== X-Gm-Message-State: ACgBeo2fdqsr+UBb7VlYcbYqxCh/uHtdvxcjzjIN9M+IUAnoxKGrn5qf 2HG+HVlHXZ2+nKb04tBDtNM= X-Google-Smtp-Source: AA6agR7mftGEpVYEOl23sbqyfBuKDtiJF7ESKZj/yiMRud711Ae0SxDk6iIBlX1hvE2l/onzi7ud1A== X-Received: by 2002:adf:d088:0:b0:228:a789:ce1f with SMTP id y8-20020adfd088000000b00228a789ce1fmr1700112wrh.461.1662380971901; Mon, 05 Sep 2022 05:29:31 -0700 (PDT) Received: from [192.168.1.95] (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id w1-20020a05600018c100b00224f7c1328dsm8727959wrq.67.2022.09.05.05.29.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Sep 2022 05:29:31 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: Setting test suite not to try debug output cases From: Iain Sandoe In-Reply-To: <4635F967-2182-4967-A1B1-6DD09C098214@dell.com> Date: Mon, 5 Sep 2022 13:29:30 +0100 Cc: Richard Biener , GCC Development Content-Transfer-Encoding: quoted-printable Message-Id: <4DB120A8-353A-41CE-8FB4-47EB069684DA@googlemail.com> References: <4635F967-2182-4967-A1B1-6DD09C098214@dell.com> To: "Koning, Paul" X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Spam-Status: No, score=-2.7 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,T_SCC_BODY_TEXT_LINE 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 5 Sep 2022, at 13:23, Koning, Paul via Gcc wrote: >=20 >=20 >=20 >> On Sep 5, 2022, at 5:29 AM, Richard Biener = wrote: >>=20 >>=20 >> [EXTERNAL EMAIL]=20 >>=20 >> On Fri, Sep 2, 2022 at 8:57 PM Koning, Paul via Gcc = wrote: >>>=20 >>> Given that pdp11 no longer supports debug output, I get a lot more = test failures, like this: >>>=20 >>> spawn -ignore SIGHUP /Users/pkoning/Documents/svn/build/pdp/gcc/xgcc = -B/Users/pkoning/Documents/svn/build/pdp/gcc/ -mlra = -fdiagnostics-plain-output -Og -g -w -c -o 20000105-1.o = /Users/pkoning/Documents/svn/gcc/gcc/testsuite/gcc.c-torture/compile/20000= 105-1.c >>> xgcc: warning: target system does not support debug output >>> cc1: warning: target system does not support debug output >>> FAIL: gcc.c-torture/compile/20000105-1.c -Og -g (test for excess = errors) >>>=20 >>> I assume there is some way in the test suite machinery to globally = skip all "debug output" cases. How would I do that? >>=20 >> Hmm. In testsuite/lib/prune.exp there's >>=20 >> # Ignore stabs obsoletion warnings >> regsub -all "(^|\n)\[^\n\]*\[Ww\]arning: STABS debugging >> information is obsolete and not supported anymore\[^\n\]*" $text "" >> text >>=20 >> maybe you can (selectively for pdp11) add similar pruning of the >> 'target system does not support debug output' message? >> I think you should be able to use >>=20 >> if { [istarget pdp11-*-*] } then { >> regsub -all " ... " ... >> } >=20 > Thanks, I'll look into that. Should it be more general to cover any = other targets that don't have debug output? I think pdp11 isn't the = only one but I'm not sure. For the parts of the testsuite that have a specific =E2=80=9Cdebug.exp=E2= =80=9D you could also make the .exp do an early return like if { [istarget pdp11-*-*] } { return } That assumes that there is no point in actually compiling the testcases = for =E2=80=9Cimproved coverage=E2=80=9D in some way. Iain