X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F02_timelocal.t;h=46118476856b9eab3f1a958c8f971f615bfc6f4c;hb=fa4cb58747381672d8367c541fa1cfc3d68e66de;hp=bff1ea0f32d0121f27f3b8b30ac3ae124f361e45;hpb=50065656489ae7e83457ab2c12b6d174186339d7;p=deb_pkgs%2Flibhtml-calendarmonth-perl.git diff --git a/t/02_timelocal.t b/t/02_timelocal.t index bff1ea0..4611847 100755 --- a/t/02_timelocal.t +++ b/t/02_timelocal.t @@ -1,20 +1,23 @@ #!/usr/bin/perl use strict; - -my($test_count, $method); -BEGIN { $test_count = 17 ; $method = 'Time::Local' } - -use Test::More tests => $test_count; - use FindBin; use lib $FindBin::RealBin; use testload; +my($test_count, $method); +BEGIN { + $method = 'Time::Local'; + $test_count = bulk_count() + odd_count() + 2; +} + +use Test::More tests => $test_count; + SKIP: { eval "use $method"; skip("$method not installed", $test_count) if $@; check_datetool($method); - check_basic_with_datetool($method); + check_bulk_with_datetool($method); + check_odd_with_datetool($method); }