From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 83E393857030 for ; Mon, 5 Sep 2022 12:27:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 83E393857030 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-ej1-x630.google.com with SMTP id cu2so16881566ejb.0 for ; Mon, 05 Sep 2022 05:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=6VElhxkYr1IeI6rPmTRr9nxbP7Hp/IrIaJ5w28R73N4=; b=g4Ytk7SJrNs2jAEG3h8rcxSvE7bVWHzUx5S/CEpUr3UQ2988e++rHlUMCzzcP14INE Lhtq0oHZsF5QIYLwAxVk1alQC2GFDZ6KJr/WYjHB7OpCbAGe5Izl7UcQ7EJjieJH6LAm V+R4wkfMozAGBql+3CxxIGGoc/MDihNFUqrK7HS+f2b0+IZCJKS7TldFFynaNlz8F9GK O/uKUDRPIbNvsZxnaP1CBc2qyC27isOjqV34Std+DpL5b7XOjlM+dRjK2/h5S+SGT2hR t5gSHo8LF6zSBkrS6DqqcnpQnw6VnfGm49vkS2MGnqhb1Vz2+HhzLHpMOacpbpzfJfux 4a3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=6VElhxkYr1IeI6rPmTRr9nxbP7Hp/IrIaJ5w28R73N4=; b=S97R+N8tEkSm4ysgpbqrfaBrBmBSZXcsyEtyU7DNSiJI3mq4qaAHTI++rZhjBEXTZj S8eSvgxEAjTmlEjxctnssJRzYYK3HIB2Lse2NG/1dml7rHdjnohymQXHVYtKE/GtTwr/ nJUJFIu9+NWHV1pAXaqz7Y4cDTwBQG6DnHBFbcucakhOtUNU/+h+Pblc/sXNce6vUEhv 6vYmcScUxlpWzfqJzRWTDwGSVEnH2hWPuRBQ4dOK89be8gR+3kfSsflLnu8Wd/axc+EI O+lwqPsIWbI2GdEK0qINz0PlB29cTch/3/jfy5ISsZoDkqvItITMXB0NVzN/d3lTWH1Y ozqQ== X-Gm-Message-State: ACgBeo3S+JIt/7dFyFVjhe+3wMWcM4/nWG5hdIkaFXyTp82R35HPsdOr 7klHFpJZMMgr1s0ZQKSIqxRHOZmcvn3ltVQg1Fs= X-Google-Smtp-Source: AA6agR4WvKOjSf+pvc/O/S5IOOQxSmOh6xoBXgYViRtbFJjippRLXAXrjmLgDHUZRUGhIr7GvYn1JGV/SilRjDqlpHo= X-Received: by 2002:a17:907:948f:b0:731:3f2e:8916 with SMTP id dm15-20020a170907948f00b007313f2e8916mr36914161ejc.442.1662380838294; Mon, 05 Sep 2022 05:27:18 -0700 (PDT) MIME-Version: 1.0 References: <4635F967-2182-4967-A1B1-6DD09C098214@dell.com> In-Reply-To: <4635F967-2182-4967-A1B1-6DD09C098214@dell.com> From: Richard Biener Date: Mon, 5 Sep 2022 14:27:06 +0200 Message-ID: Subject: Re: Setting test suite not to try debug output cases To: "Koning, Paul" Cc: GCC Development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 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 Mon, Sep 5, 2022 at 2:23 PM Koning, Paul wrote: > > > > > On Sep 5, 2022, at 5:29 AM, Richard Biener = wrote: > > > > > > [EXTERNAL EMAIL] > > > > On Fri, Sep 2, 2022 at 8:57 PM Koning, Paul via Gcc w= rote: > >> > >> Given that pdp11 no longer supports debug output, I get a lot more tes= t failures, like this: > >> > >> spawn -ignore SIGHUP /Users/pkoning/Documents/svn/build/pdp/gcc/xgcc -= B/Users/pkoning/Documents/svn/build/pdp/gcc/ -mlra -fdiagnostics-plain-outp= ut -Og -g -w -c -o 20000105-1.o /Users/pkoning/Documents/svn/gcc/gcc/testsu= ite/gcc.c-torture/compile/20000105-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 er= rors) > >> > >> I assume there is some way in the test suite machinery to globally ski= p all "debug output" cases. How would I do that? > > > > Hmm. In testsuite/lib/prune.exp there's > > > > # Ignore stabs obsoletion warnings > > regsub -all "(^|\n)\[^\n\]*\[Ww\]arning: STABS debugging > > information is obsolete and not supported anymore\[^\n\]*" $text "" > > text > > > > 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 > > > > if { [istarget pdp11-*-*] } then { > > regsub -all " ... " ... > > } > > Thanks, I'll look into that. Should it be more general to cover any othe= r targets that don't have debug output? I think pdp11 isn't the only one b= ut I'm not sure. True - pruning generally sounds more useful. Richard. > paul >