diff options
author | Martin Liska <mliska@suse.cz> | 2021-05-12 14:03:36 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-05-12 14:18:04 +0200 |
commit | fc186594e3ee86a57841442e96306dddfd8eb85d (patch) | |
tree | 6cf9c329fe4969af711aa4e5cc8f89eb8421d10c /gcc/testsuite/lib | |
parent | 8da3b309d8fb3ddec0b42218ca6762967b402dc3 (diff) | |
download | gcc-fc186594e3ee86a57841442e96306dddfd8eb85d.zip gcc-fc186594e3ee86a57841442e96306dddfd8eb85d.tar.gz gcc-fc186594e3ee86a57841442e96306dddfd8eb85d.tar.bz2 |
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.
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/lto.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/lto.exp b/gcc/testsuite/lib/lto.exp index 94a81ff..77919e8 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 |