X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=current%2Ft%2F03_datetime.t;h=d1523815c249749740825f7aa30bb54ee5db1dae;hb=982e2bb08f00d800e2cd9fb65b108231719c8a65;hp=b7f48e344eff9637acad84d8e121981dd9b33c74;hpb=7444dbb3f0999e61ca02028e688a97577040eafb;p=deb_pkgs%2Flibhtml-calendarmonth-perl.git diff --git a/current/t/03_datetime.t b/current/t/03_datetime.t index b7f48e3..d152381 100755 --- a/current/t/03_datetime.t +++ b/current/t/03_datetime.t @@ -1,21 +1,24 @@ #!/usr/bin/perl use strict; - -my($test_count, $method); -BEGIN { $test_count = 19 ; $method = 'DateTime' } - -use Test::More tests => $test_count; - use FindBin; use lib $FindBin::RealBin; use testload; +my($test_count, $method); +BEGIN { + $method = 'DateTime'; + $test_count = bulk_count() + odd_count() + woy_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); check_woy_with_datetool($method); }