From: Andy Grundman Date: Thu, 10 Nov 2005 03:46:04 +0000 (+0000) Subject: Made threads test optional X-Git-Tag: 5.7099_04~973 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=ae6eea2db150e45ddad1c532bb8e1a0a2de9767d Made threads test optional --- diff --git a/t/unit/core/threads.t b/t/optional/threads.t similarity index 85% rename from t/unit/core/threads.t rename to t/optional/threads.t index ae78f97..82c748a 100644 --- a/t/unit/core/threads.t +++ b/t/optional/threads.t @@ -4,13 +4,16 @@ use strict; use warnings; use FindBin; -use lib "$FindBin::Bin/../../live/lib"; +use lib "$FindBin::Bin/../live/lib"; use Test::More; use Catalyst::Test 'TestApp'; use Catalyst::Request; use Config; +plan skip_all => 'set TEST_THREADS to enable this test' + unless $ENV{TEST_THREADS}; + if ( $Config{useithreads} && !$ENV{CATALYST_SERVER} ) { require threads; plan tests => 3;