From 763ea608b45d48c7bf8d81160ed0227e201af548 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 6 Apr 2011 15:23:33 +0000 Subject: [PATCH] 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 --- boehm-gc/ChangeLog | 6 ++++++ boehm-gc/testsuite/lib/boehm-gc.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index f6b18655884..7d382b6b5f0 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-06 Rainer Orth + + PR testsuite/48480 + * testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path + to ranlib. + 2011-03-25 Rainer Orth PR boehm-gc/11412 diff --git a/boehm-gc/testsuite/lib/boehm-gc.exp b/boehm-gc/testsuite/lib/boehm-gc.exp index 2376102e9bd..c5b3e95b0f0 100644 --- a/boehm-gc/testsuite/lib/boehm-gc.exp +++ b/boehm-gc/testsuite/lib/boehm-gc.exp @@ -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 } -- 2.30.2