public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <richard.guenther@gmail.com>
To: "Koning, Paul" <Paul.Koning@dell.com>
Cc: GCC Development <gcc@gcc.gnu.org>
Subject: Re: Setting test suite not to try debug output cases
Date: Mon, 5 Sep 2022 11:29:46 +0200	[thread overview]
Message-ID: <CAFiYyc3qr188sHY3Z20HVP+VWdsCuR51=0vHrCCqfrH7mmTB7g@mail.gmail.com> (raw)
In-Reply-To: <C36B0E9C-1BC1-4A57-B7D0-0790486AFF30@dell.com>

On Fri, Sep 2, 2022 at 8:57 PM Koning, Paul via Gcc <gcc@gcc.gnu.org> wrote:
>
> Given that pdp11 no longer supports debug output, I get a lot more test 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-output -Og -g -w -c -o 20000105-1.o /Users/pkoning/Documents/svn/gcc/gcc/testsuite/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 errors)
>
> I assume there is some way in the test suite machinery to globally skip 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 " ... " ...
   }

>
>         paul
>

  reply	other threads:[~2022-09-05  9:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-02 18:55 Koning, Paul
2022-09-05  9:29 ` Richard Biener [this message]
2022-09-05 12:23   ` Koning, Paul
2022-09-05 12:27     ` Richard Biener
2022-09-05 12:29     ` Iain Sandoe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFiYyc3qr188sHY3Z20HVP+VWdsCuR51=0vHrCCqfrH7mmTB7g@mail.gmail.com' \
    --to=richard.guenther@gmail.com \
    --cc=Paul.Koning@dell.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).