From: gfx Date: Sat, 3 Jul 2010 04:33:35 +0000 (+0900) Subject: Fix threading tests for bad perls: X-Git-Tag: 0.62~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=652b2a9784bdd5fdb2d36e941e5dbec965532268;p=gitmo%2FMouse.git Fix threading tests for bad perls: See http://www.cpantesters.org/cpan/report/07540783-b19f-3f77-b713-d32bba55d77f --- diff --git a/t/001_mouse/060-threads.t b/t/001_mouse/060-threads.t index e82f7c5..65331f0 100644 --- a/t/001_mouse/060-threads.t +++ b/t/001_mouse/060-threads.t @@ -1,7 +1,7 @@ #!perl use strict; use warnings; -use constant HAS_THREADS => eval{ require threads }; +use constant HAS_THREADS => eval{ require threads && require threads::shared }; use if !HAS_THREADS, 'Test::More', (skip_all => "This is a test for threads ($@)"); use Test::More;