X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F50-threads.t;h=29bb2d1d6e9cac5dcf15d8f0f0dcbf15214aaee8;hb=25026a189a48c589d0f0c8c3505c1fc4db371fd3;hp=e8e7cfe3d6a057a4e5da5ea497faf417b4ad436d;hpb=bff16fe7ea455b013bb0e681f2852f6c11d72636;p=perl%2Fmodules%2Fautovivification.git diff --git a/t/50-threads.t b/t/50-threads.t index e8e7cfe..29bb2d1 100644 --- a/t/50-threads.t +++ b/t/50-threads.t @@ -1,10 +1,12 @@ -#!perl -T +#!perl use strict; use warnings; use lib 't/lib'; -use autovivification::TestThreads; +use VPIT::TestHelpers ( + threads => [ 'autovivification' => 'autovivification::A_THREADSAFE()' ], +); use Test::Leaner; @@ -67,4 +69,4 @@ $_->join for @threads; pass 'done'; -done_testing(scalar(@threads) * $runs * 3 * (1 + 2) + 1); +done_testing;