From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 9AD6B3858D28; Fri, 6 Jan 2023 09:35:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AD6B3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672997744; bh=f2lzqRbZK5OXR2CI+T0AIp2M+qIt7+cvG8G/UH0Z07w=; h=From:To:Subject:Date:From; b=mB7gDrDr4eebL8fqPOpevOgm/vFadpDha0RlNV1TNdlr+qHSUygNHSnmHdcV/QWx8 gR6aknmDZZn6VOXI6IifFbG5IVsSxLBPpNoiZCfwUhx9tybZL3cXf2sQjmOfnzIPrE vARpuZBwni61bFYN/Z4mPQXUcAmwqEeiqQWTzVRc= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r10-11151] lto-wrapper: silent warnings in tests X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: df8d2c4a626ce84ab1debc1d933dccea5022730a X-Git-Newrev: 504545cea1938bcbffb5fc4f827eb52bbbae1941 Message-Id: <20230106093544.9AD6B3858D28@sourceware.org> Date: Fri, 6 Jan 2023 09:35:44 +0000 (GMT) List-Id: https://gcc.gnu.org/g:504545cea1938bcbffb5fc4f827eb52bbbae1941 commit r10-11151-g504545cea1938bcbffb5fc4f827eb52bbbae1941 Author: Martin Liska 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