re PR testsuite/48480 (FAIL: staticrootslib.lo -O2 (test for excess errors))
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 6 Apr 2011 15:23:33 +0000 (15:23 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 6 Apr 2011 15:23:33 +0000 (15:23 +0000)
PR testsuite/48480
* testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
to ranlib.

From-SVN: r172050

boehm-gc/ChangeLog
boehm-gc/testsuite/lib/boehm-gc.exp

index f6b186558848618f907b09754de1f3d40a278873..7d382b6b5f0ba9e030ab94ec914e4b0c91dea319 100644 (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
index 2376102e9bd57959d7ceec410892587bb893acbf..c5b3e95b0f0308ee9f4b580e0fe0e1cb9f1ab809 100644 (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
 }