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.
This commit is contained in:
Martin Liska 2021-05-12 14:03:36 +02:00
parent 8da3b309d8
commit fc186594e3
1 changed files with 3 additions and 0 deletions

View File

@ -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