X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F40-threads.t;h=a6a38aeeab5edcfb98b2b33e319001bfde292585;hb=1a6ce5844e2fe25781307095b17b156e3ad9b484;hp=33f583795e67afaf2451a95190813618fd2c9788;hpb=1868a5983f5045def63a5cc7edf41454b407f66c;p=perl%2Fmodules%2Findirect.git diff --git a/t/40-threads.t b/t/40-threads.t index 33f5837..a6a38ae 100644 --- a/t/40-threads.t +++ b/t/40-threads.t @@ -1,10 +1,10 @@ -#!perl -T +#!perl use strict; use warnings; use lib 't/lib'; -use indirect::TestThreads; +use VPIT::TestHelpers threads => [ 'indirect' => 'indirect::I_THREADSAFE()' ]; use Test::Leaner; @@ -60,4 +60,6 @@ my @threads = map spawn(\&try), 1 .. 10; $_->join for @threads; -done_testing(scalar(@threads) * 2 * (2 + 3)); +pass 'done'; + +done_testing(scalar(@threads) * 2 * (2 + 3) + 1);