]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - t/02_timelocal.t
New upstream release
[deb_pkgs/libhtml-calendarmonth-perl.git] / t / 02_timelocal.t
index bff1ea0f32d0121f27f3b8b30ac3ae124f361e45..46118476856b9eab3f1a958c8f971f615bfc6f4c 100755 (executable)
@@ -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);
 }