re PR testsuite/48480 (FAIL: staticrootslib.lo -O2 (test for excess errors))

PR testsuite/48480
	* testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
	to ranlib.

From-SVN: r172050
This commit is contained in:
Rainer Orth 2011-04-06 15:23:33 +00:00 committed by Rainer Orth
parent 85bfb75e74
commit 763ea608b4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/48480
* testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
to ranlib.
2011-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR boehm-gc/11412

View File

@ -233,7 +233,7 @@ proc boehm-gc-dg-prune { system text } {
set text [prune_gcc_output $text]
# Ignore harmless Darwin ranlib warnings.
regsub -all "(^|\n)(ranlib: file: \[^\n\]* has no symbols\n?)+" $text "\\1" text
regsub -all "(^|\n)(\[^\n\]*ranlib: file: \[^\n\]* has no symbols\n?)+" $text "\\1" text
return $text
}