[RT #65812] skip the threads tests on Test::More 2.00_*
authorTony Cook <tony@develop-help.com>
Fri, 18 Feb 2011 13:30:56 +0000 (00:30 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 18 Feb 2011 13:30:56 +0000 (00:30 +1100)
Changes
t/t99thread.t

diff --git a/Changes b/Changes
index 6d1eb3b703c843899dbf16f3a41c368665353613..0db415f47dbb701a4e73e6b057167143b87ef6bb 100644 (file)
--- a/Changes
+++ b/Changes
@@ -15,6 +15,9 @@ Bug fixes:
    that I don't feel a need to require a Test::More upgrade for it.
    https://rt.cpan.org/Ticket/Display.html?id=65864
 
+ - skip the threads tests on Test::More 2.00_*
+   https://rt.cpan.org/Ticket/Display.html?id=65812
+
 Imager 0.81 - 14 Feb 2011
 ===========
 
index 85a9e95bfd7f96cbf9658b07c9a10920e8bdf4c5..0d05fe390b272403bc216cb08a95cdf2eb37a92c 100644 (file)
@@ -27,6 +27,11 @@ $loaded_threads
 $INC{"Devel/Cover.pm"}
   and plan skip_all => "threads and Devel::Cover don't get along";
 
+# https://rt.cpan.org/Ticket/Display.html?id=65812
+# https://github.com/schwern/test-more/issues/labels/Test-Builder2#issue/100
+$Test::More::VERSION =~ /^2\.00_/
+  and plan skip_all => "threads are hosed in 2.00_06 and presumably all 2.00_*";
+
 plan tests => 11;
 
 my $thread = threads->create(sub { 1; });