X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F40-threads.t;h=f7d87bc061cbd792c7973e59aa855920980f89f0;hb=03e565adcd2c23d08331a676767a8195f61a3cf4;hp=33f583795e67afaf2451a95190813618fd2c9788;hpb=1868a5983f5045def63a5cc7edf41454b407f66c;p=perl%2Fmodules%2Findirect.git diff --git a/t/40-threads.t b/t/40-threads.t index 33f5837..f7d87bc 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;