From: Nicholas Clark Date: Sun, 25 Jan 2004 22:17:47 +0000 (+0000) Subject: Need to skip Storable's threads test on 5.8.2 with ithreads and X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9fa8de07d79b18d9dfe53441f5cb446332fdc12;p=p5sagit%2Fp5-mst-13.2.git Need to skip Storable's threads test on 5.8.2 with ithreads and -DDEBUGGING, because it tickles a bug. (The same bug that got DBI) p4raw-id: //depot/perl@22217 --- diff --git a/ext/Storable/t/threads.t b/ext/Storable/t/threads.t index eddc4bb..9c55b72 100644 --- a/ext/Storable/t/threads.t +++ b/ext/Storable/t/threads.t @@ -32,6 +32,13 @@ sub BEGIN { print "1..0 # Skip: no threads\n"; exit 0; } + # - is \W, so can't use \b at start. Negative look ahead and look behind + # works at start/end of string, or where preceded/followed by spaces + if ($] == 5.008002 and $Config{'ccflags'} =~ /(?