public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r10-11151] lto-wrapper: silent warnings in tests
Date: Fri,  6 Jan 2023 09:35:44 +0000 (GMT)	[thread overview]
Message-ID: <20230106093544.9AD6B3858D28@sourceware.org> (raw)

https://gcc.gnu.org/g:504545cea1938bcbffb5fc4f827eb52bbbae1941

commit r10-11151-g504545cea1938bcbffb5fc4f827eb52bbbae1941
Author: Martin Liska <mliska@suse.cz>
Date:   Wed May 12 14:03:36 2021 +0200

    lto-wrapper: silent warnings in tests
    
    Silents the following warning:
    lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
    
    gcc/testsuite/ChangeLog:
    
            * lib/lto.exp: When running tests without jobserver, one can see
            the following warning for tests that use 1to1 partitioning.
    
    (cherry picked from commit fc186594e3ee86a57841442e96306dddfd8eb85d)

Diff:
---
 gcc/testsuite/lib/lto.exp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/testsuite/lib/lto.exp b/gcc/testsuite/lib/lto.exp
index b2fa7ec8cec..da4456e3aa1 100644
--- a/gcc/testsuite/lib/lto.exp
+++ b/gcc/testsuite/lib/lto.exp
@@ -159,6 +159,9 @@ proc lto_prune_warns { text } {
     regsub -all "(^|\n)\[ \t\]*\[\(\]file \[^\n\]* value=\[^\n\]*; file \[^\n\]* value=\[^\n\]*\[)\];" $text "" text
     regsub -all "(^|\n)\[ \t\]*\[^\n\]* definition taken" $text "" text
 
+    # Ignore missing jobserver for tests that do more than 1 LTRANS unit
+    regsub -all "(^|\n)\[^\n\]*: warning: using serial compilation of \[^\n\]*" $text "" text
+
     # Ignore informational notes.
     regsub -all "(^|\n)\[^\n\]*: note: \[^\n\]*" $text "" text

                 reply	other threads:[~2023-01-06  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230106093544.9AD6B3858D28@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@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).