Hello community,
here is the log from the commit of package perl-Benchmark-Timer for openSUSE:Factory checked in at 2015-05-05 00:56:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Benchmark-Timer (Old)
and /work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Benchmark-Timer"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Benchmark-Timer/perl-Benchmark-Timer.changes 2015-04-16 14:13:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new/perl-Benchmark-Timer.changes 2015-05-05 00:56:04.000000000 +0200
@@ -1,0 +2,6 @@
+Sun May 3 08:17:35 UTC 2015 - coolo@suse.com
+
+- updated to 0.7107
+ see /usr/share/doc/packages/perl-Benchmark-Timer/CHANGES
+
+-------------------------------------------------------------------
Old:
----
Benchmark-Timer-0.7104.tar.gz
New:
----
Benchmark-Timer-0.7107.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Benchmark-Timer.spec ++++++
--- /var/tmp/diff_new_pack.MCqz2F/_old 2015-05-05 00:56:04.000000000 +0200
+++ /var/tmp/diff_new_pack.MCqz2F/_new 2015-05-05 00:56:04.000000000 +0200
@@ -17,9 +17,9 @@
Name: perl-Benchmark-Timer
-Version: 0.7104
+Version: 0.7107
Release: 0
-#Upstream: GPL-1.0+
+#Upstream: GPL-2.0+
%define cpan_name Benchmark-Timer
Summary: Benchmarking with statistical confidence
License: GPL-2.0+
@@ -31,6 +31,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(URI::Escape)
%{perl_requires}
%description
++++++ Benchmark-Timer-0.7104.tar.gz -> Benchmark-Timer-0.7107.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/CHANGES new/Benchmark-Timer-0.7107/CHANGES
--- old/Benchmark-Timer-0.7104/CHANGES 2015-04-04 19:06:05.000000000 +0200
+++ new/Benchmark-Timer-0.7107/CHANGES 2015-05-03 04:31:22.000000000 +0200
@@ -1,4 +1,18 @@
-Version 0.7104: Sat Mar 28 2015
+Version 0.7107: Sat May 2 2015
+- Prevent CPAN from indexing private-lib
+
+Version 0.7106: Mon Apr 20 2015
+- Clarify licensing terms
+- Move verbose testing to a private module, and implement it in a way that
+ doesn't require editing the Makefile after it is generated.
+
+Version 0.7105: Sun Apr 12 2015
+- Make basic.t 'Nonzero single result' test reliable
+ http://www.cpantesters.org/cpan/report/abcfc65a-de71-11e4-a1d1-8536eb4f9f07
+- Enable verbose testing for CPAN-testers
+- Consolidate issue tracking at rt.cpan.org
+
+Version 0.7104: Sat Apr 4 2015
- Bundle Module::AutoInstall to prevent breaks when people don't have it
installed already. Thanks to Andreas Koenig for the report,
and Paul Howarth for giving me a kick in the pants to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/LICENSE new/Benchmark-Timer-0.7107/LICENSE
--- old/Benchmark-Timer-0.7104/LICENSE 2015-04-04 16:11:20.000000000 +0200
+++ new/Benchmark-Timer-0.7107/LICENSE 2015-05-03 04:31:51.000000000 +0200
@@ -1,3 +1,9 @@
+This software is Copyright (c) 2015 by David Coppit.
+
+This is free software, licensed under:
+
+ The GNU General Public License, Version 2, June 1991
+
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/MANIFEST new/Benchmark-Timer-0.7107/MANIFEST
--- old/Benchmark-Timer-0.7104/MANIFEST 2015-04-04 21:04:38.000000000 +0200
+++ new/Benchmark-Timer-0.7107/MANIFEST 2015-04-19 18:31:35.000000000 +0200
@@ -20,14 +20,22 @@
# Module::Install extensions
inc/Module/AutoInstall.pm
inc/Module/Install.pm
+inc/Module/Install/AutoLicense.pm
+inc/Module/Install/AutomatedTester.pm
inc/Module/Install/Base.pm
+inc/Module/Install/Bugtracker.pm
inc/Module/Install/Can.pm
inc/Module/Install/CheckOptional.pm
inc/Module/Install/Fetch.pm
+inc/Module/Install/GithubMeta.pm
inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
+inc/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm
+
+# Private Module::Install extensions
+private-lib/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm
META.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/META.yml new/Benchmark-Timer-0.7107/META.yml
--- old/Benchmark-Timer-0.7104/META.yml 2015-04-04 21:05:06.000000000 +0200
+++ new/Benchmark-Timer-0.7107/META.yml 2015-05-03 04:31:51.000000000 +0200
@@ -7,10 +7,11 @@
Test::More: 0
configure_requires:
ExtUtils::MakeMaker: 6.36
+ URI::Escape: 0
distribution_type: module
dynamic_config: 1
generated_by: 'Module::Install version 1.14'
-license: gpl
+license: gpl2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
@@ -20,10 +21,14 @@
delta.pl: []
directory:
- inc
+ - private-lib
- t
requires:
Time::HiRes: 0
perl: '5.005'
resources:
- license: http://opensource.org/licenses/gpl-license.php
-version: '0.7104'
+ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Benchmark-Timer
+ homepage: https://github.com/coppit/benchmark-timer/
+ license: http://opensource.org/licenses/gpl-2.0.php
+ repository: https://github.com/coppit/benchmark-timer.git
+version: '0.7107'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/Makefile.PL new/Benchmark-Timer-0.7107/Makefile.PL
--- old/Benchmark-Timer-0.7104/Makefile.PL 2015-04-04 16:39:46.000000000 +0200
+++ new/Benchmark-Timer-0.7107/Makefile.PL 2015-04-27 00:40:24.000000000 +0200
@@ -2,10 +2,16 @@
use strict;
+# For PRIVATE Module::Install extensions
+use lib 'private-lib';
+
use inc::Module::Install;
all_from('lib/Benchmark/Timer.pm');
+auto_set_bugtracker;
+githubmeta;
+
requires(
'Time::HiRes' => 0,
);
@@ -17,12 +23,12 @@
check_optional('Statistics::PointEstimation' => 0,
"Install Statistics::PointEstimation for statistical sampling support\n");
-# Module::Install doesn't figure out that Module::Install::CheckOptional needs
-# this. Include it manually.
-include(
- 'Module::AutoInstall' => 0,
-);
-
no_index('delta.pl');
+no_index 'directory' => 'private-lib';
+
+license 'gpl2';
+auto_license(holder => 'David Coppit');
+
+enable_verbose_cpan_testing();
WriteAll();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/README new/Benchmark-Timer-0.7107/README
--- old/Benchmark-Timer-0.7104/README 2015-03-22 17:35:22.000000000 +0100
+++ new/Benchmark-Timer-0.7107/README 2015-04-18 16:48:00.000000000 +0200
@@ -54,7 +54,7 @@
you can also do "man Benchmark::Timer".
-HOMEPAGE
+RESOURCES
The CPAN Page:
http://search.cpan.org/~dcoppit/Benchmark-Timer/
@@ -62,23 +62,15 @@
The GitHub page:
https://github.com/coppit/benchmark-timer/
-
-REPORTING BUGS
-
-https://github.com/coppit/benchmark-timer/issues
+Bug and feature tracking:
+http://rt.cpan.org/Public/Dist/Display.html?Name=Benchmark-Timer
COPYRIGHT
Copyright (c) 2001-2002 Andrew Ho. Copyright (c) 2004-2015 David Coppit. All rights
-reserved, save those granted by the license.
-
-
-LICENSE
-
-This code is distributed under the GNU General Public License (GPL). See the
-file LICENSE in the distribution, http://www.opensource.org/gpl-license.html,
-and http://www.opensource.org/.
+reserved, save those granted by the license. See the file LICENSE for
+licensing terms.
AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/inc/Module/Install/AutoLicense.pm new/Benchmark-Timer-0.7107/inc/Module/Install/AutoLicense.pm
--- old/Benchmark-Timer-0.7104/inc/Module/Install/AutoLicense.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Benchmark-Timer-0.7107/inc/Module/Install/AutoLicense.pm 2015-05-03 04:31:50.000000000 +0200
@@ -0,0 +1,63 @@
+#line 1
+package Module::Install::AutoLicense;
+
+use strict;
+use warnings;
+use base qw(Module::Install::Base);
+use vars qw($VERSION);
+
+$VERSION = '0.08';
+
+my %licenses = (
+ perl => 'Software::License::Perl_5',
+ apache => 'Software::License::Apache_2_0',
+ artistic => 'Software::License::Artistic_1_0',
+ artistic_2 => 'Software::License::Artistic_2_0',
+ lgpl2 => 'Software::License::LGPL_2_1',
+ lgpl3 => 'Software::License::LGPL_3_0',
+ bsd => 'Software::License::BSD',
+ gpl => 'Software::License::GPL_1',
+ gpl2 => 'Software::License::GPL_2',
+ gpl3 => 'Software::License::GPL_3',
+ mit => 'Software::License::MIT',
+ mozilla => 'Software::License::Mozilla_1_1',
+);
+
+sub auto_license {
+ my $self = shift;
+ return unless $Module::Install::AUTHOR;
+ my %opts = @_;
+ $opts{lc $_} = delete $opts{$_} for keys %opts;
+ my $holder = $opts{holder} || _get_authors( $self );
+ #my $holder = $opts{holder} || $self->author;
+ my $license = $self->license();
+ unless ( defined $licenses{ $license } ) {
+ warn "No license definition for '$license', aborting\n";
+ return 1;
+ }
+ my $class = $licenses{ $license };
+ eval "require $class";
+ my $sl = $class->new( { holder => $holder } );
+ open LICENSE, '>LICENSE' or die "$!\n";
+ print LICENSE $sl->fulltext;
+ close LICENSE;
+ $self->postamble(<<"END");
+distclean :: license_clean
+
+license_clean:
+\t\$(RM_F) LICENSE
+END
+
+ return 1;
+}
+
+sub _get_authors {
+ my $self = shift;
+ my $joined = join ', ', @{ $self->author() || [] };
+ return $joined;
+}
+
+'Licensed to auto';
+__END__
+
+#line 125
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/inc/Module/Install/AutomatedTester.pm new/Benchmark-Timer-0.7107/inc/Module/Install/AutomatedTester.pm
--- old/Benchmark-Timer-0.7104/inc/Module/Install/AutomatedTester.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Benchmark-Timer-0.7107/inc/Module/Install/AutomatedTester.pm 2015-05-03 04:31:51.000000000 +0200
@@ -0,0 +1,24 @@
+#line 1
+package Module::Install::AutomatedTester;
+
+use strict;
+use warnings;
+use base qw(Module::Install::Base);
+use vars qw($VERSION);
+
+$VERSION = '0.02';
+
+sub auto_tester {
+ return if $Module::Install::AUTHOR;
+ return $ENV{AUTOMATED_TESTING};
+}
+
+sub cpan_tester {
+ &auto_tester;
+}
+
+'ARE WE BEING SMOKED?';
+
+__END__
+
+#line 78
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/inc/Module/Install/Bugtracker.pm new/Benchmark-Timer-0.7107/inc/Module/Install/Bugtracker.pm
--- old/Benchmark-Timer-0.7104/inc/Module/Install/Bugtracker.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Benchmark-Timer-0.7107/inc/Module/Install/Bugtracker.pm 2015-05-03 04:31:50.000000000 +0200
@@ -0,0 +1,28 @@
+#line 1
+package Module::Install::Bugtracker;
+use 5.006;
+use strict;
+use warnings;
+use URI::Escape;
+use base qw(Module::Install::Base);
+
+our $VERSION = sprintf "%d.%02d%02d", q/0.3.0/ =~ /(\d+)/g;
+
+sub auto_set_bugtracker {
+ my $self = shift;
+ if ($self->name) {
+ $self->configure_requires('URI::Escape', 0);
+
+ $self->bugtracker(
+ sprintf 'http://rt.cpan.org/Public/Dist/Display.html?Name=%s',
+ uri_escape($self->name),
+ );
+ } else {
+ warn "can't set bugtracker if 'name' is not set\n";
+ }
+}
+1;
+__END__
+
+#line 100
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/inc/Module/Install/CheckOptional.pm new/Benchmark-Timer-0.7107/inc/Module/Install/CheckOptional.pm
--- old/Benchmark-Timer-0.7104/inc/Module/Install/CheckOptional.pm 2015-04-04 21:05:05.000000000 +0200
+++ new/Benchmark-Timer-0.7107/inc/Module/Install/CheckOptional.pm 2015-05-03 04:31:50.000000000 +0200
@@ -13,17 +13,16 @@
use Module::Install::Base;
@ISA = qw( Module::Install::Base Module::AutoInstall );
-$VERSION = sprintf "%d.%02d%02d", q/0.10.03/ =~ /(\d+)/g;
+$VERSION = sprintf "%d.%02d%02d", q/0.11.00/ =~ /(\d+)/g;
# ---------------------------------------------------------------------------
-sub check_optional
-{
- my $self = shift;
-
- my $module = shift;
- my $version = shift;
- my $message = shift;
+sub check_optional {
+ my ($self, $module, $version, $message) = @_;
+
+ # Tell Module::Install to include this, since we use it.
+ $self->perl_version('5.005');
+ $self->include('Module::AutoInstall', 0);
croak "check_optional requires a dependency and version such as \"Carp => 1.03\""
unless defined $module and defined $version;
@@ -43,4 +42,4 @@
# ---------------------------------------------------------------------------
-#line 98
+#line 96
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/inc/Module/Install/GithubMeta.pm new/Benchmark-Timer-0.7107/inc/Module/Install/GithubMeta.pm
--- old/Benchmark-Timer-0.7104/inc/Module/Install/GithubMeta.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Benchmark-Timer-0.7107/inc/Module/Install/GithubMeta.pm 2015-05-03 04:31:50.000000000 +0200
@@ -0,0 +1,53 @@
+#line 1
+package Module::Install::GithubMeta;
+
+use strict;
+use warnings;
+use Cwd;
+use base qw(Module::Install::Base);
+use vars qw($VERSION);
+
+$VERSION = '0.30';
+
+sub githubmeta {
+ my $self = shift;
+ return unless $Module::Install::AUTHOR;
+ return unless _under_git();
+ return unless $self->can_run('git');
+ my $remote = shift || 'origin';
+ local $ENV{LC_ALL}='C';
+ local $ENV{LANG}='C';
+ return unless my ($git_url) = `git remote show -n $remote` =~ /URL: (.*)$/m;
+ return unless $git_url =~ /github\.com/; # Not a Github repository
+ my $http_url = $git_url;
+ $git_url =~ s![\w\-]+\@([^:]+):!git://$1/!;
+ $http_url =~ s![\w\-]+\@([^:]+):!https://$1/!;
+ $http_url =~ s!\.git$!/!;
+ $self->repository( $git_url );
+ $self->homepage( $http_url ) unless $self->homepage();
+ return 1;
+}
+
+sub _under_git {
+ return 1 if -e '.git';
+ my $cwd = getcwd;
+ my $last = $cwd;
+ my $found = 0;
+ while (1) {
+ chdir '..' or last;
+ my $current = getcwd;
+ last if $last eq $current;
+ $last = $current;
+ if ( -e '.git' ) {
+ $found = 1;
+ last;
+ }
+ }
+ chdir $cwd;
+ return $found;
+}
+
+'Github';
+__END__
+
+#line 113
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/inc/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm new/Benchmark-Timer-0.7107/inc/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm
--- old/Benchmark-Timer-0.7104/inc/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Benchmark-Timer-0.7107/inc/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm 2015-05-03 04:31:51.000000000 +0200
@@ -0,0 +1,47 @@
+#line 1
+package Module::Install::PRIVATE::Enable_Verbose_CPAN_Testing;
+
+use strict;
+use warnings;
+
+use lib 'inc';
+use Module::Install::AutomatedTester();
+
+use vars qw( @ISA $VERSION );
+
+use Module::Install::Base;
+@ISA = qw( Module::Install::Base );
+
+$VERSION = sprintf "%d.%02d%02d", q/0.1.0/ =~ /(\d+)/g;
+
+our( $ORIG_TEST_VIA_HARNESS );
+
+# ---------------------------------------------------------------------------
+
+sub enable_verbose_cpan_testing {
+ my ($self, @args) = @_;
+
+ # Tell Module::Install to include this, since we use it.
+ $self->perl_version('5.005');
+ $self->include_deps('Module::Install::AutomatedTester', 0);
+
+ return unless Module::Install::AutomatedTester::auto_tester();
+
+ unless(defined $ORIG_TEST_VIA_HARNESS) {
+ $ORIG_TEST_VIA_HARNESS = MY->can('test_via_harness');
+ no warnings 'redefine';
+ *MY::test_via_harness = \&_force_verbose;
+ }
+}
+
+sub _force_verbose {
+ my($self, $perl, $tests) = @_;
+
+ my $command = MY->$ORIG_TEST_VIA_HARNESS($perl || '$(FULLPERLRUN)', $tests);
+
+ $command =~ s/\$\(TEST_VERBOSE\)/1/;
+
+ return $command;
+}
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/lib/Benchmark/Timer.pm new/Benchmark-Timer-0.7107/lib/Benchmark/Timer.pm
--- old/Benchmark-Timer-0.7104/lib/Benchmark/Timer.pm 2015-04-04 21:03:20.000000000 +0200
+++ new/Benchmark-Timer-0.7107/lib/Benchmark/Timer.pm 2015-05-03 04:30:34.000000000 +0200
@@ -6,7 +6,7 @@
use Time::HiRes qw( gettimeofday tv_interval );
use vars qw($VERSION);
-$VERSION = sprintf "%d.%02d%02d", q/0.71.4/ =~ /(\d+)/g;
+$VERSION = sprintf "%d.%02d%02d", q/0.71.7/ =~ /(\d+)/g;
use constant BEFORE => 0;
use constant ELAPSED => 1;
@@ -560,9 +560,8 @@
=head1 LICENSE
-This code is distributed under the GNU General Public License (GPL). See the
-file LICENSE in the distribution, http://www.opensource.org/gpl-license.html,
-and http://www.opensource.org/.
+This code is distributed under the GNU General Public License (GPL) Version 2.
+See the file LICENSE in the distribution for details.
=head1 AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/private-lib/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm new/Benchmark-Timer-0.7107/private-lib/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm
--- old/Benchmark-Timer-0.7104/private-lib/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Benchmark-Timer-0.7107/private-lib/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm 2015-04-19 20:28:07.000000000 +0200
@@ -0,0 +1,46 @@
+package Module::Install::PRIVATE::Enable_Verbose_CPAN_Testing;
+
+use strict;
+use warnings;
+
+use lib 'inc';
+use Module::Install::AutomatedTester();
+
+use vars qw( @ISA $VERSION );
+
+use Module::Install::Base;
+@ISA = qw( Module::Install::Base );
+
+$VERSION = sprintf "%d.%02d%02d", q/0.1.0/ =~ /(\d+)/g;
+
+our( $ORIG_TEST_VIA_HARNESS );
+
+# ---------------------------------------------------------------------------
+
+sub enable_verbose_cpan_testing {
+ my ($self, @args) = @_;
+
+ # Tell Module::Install to include this, since we use it.
+ $self->perl_version('5.005');
+ $self->include_deps('Module::Install::AutomatedTester', 0);
+
+ return unless Module::Install::AutomatedTester::auto_tester();
+
+ unless(defined $ORIG_TEST_VIA_HARNESS) {
+ $ORIG_TEST_VIA_HARNESS = MY->can('test_via_harness');
+ no warnings 'redefine';
+ *MY::test_via_harness = \&_force_verbose;
+ }
+}
+
+sub _force_verbose {
+ my($self, $perl, $tests) = @_;
+
+ my $command = MY->$ORIG_TEST_VIA_HARNESS($perl || '$(FULLPERLRUN)', $tests);
+
+ $command =~ s/\$\(TEST_VERBOSE\)/1/;
+
+ return $command;
+}
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/t/01_basic.t new/Benchmark-Timer-0.7107/t/01_basic.t
--- old/Benchmark-Timer-0.7104/t/01_basic.t 2015-03-22 17:33:40.000000000 +0100
+++ new/Benchmark-Timer-0.7107/t/01_basic.t 2015-04-11 18:38:02.000000000 +0200
@@ -15,6 +15,7 @@
use strict;
use Test::More tests => 11;
+use Time::HiRes;
# 1
BEGIN { use_ok( 'Benchmark::Timer') }
@@ -32,7 +33,12 @@
#3
ok(1, 'reset');
+my $before = [ Time::HiRes::gettimeofday ]; # minimize overhead
+
$t->start('tag');
+while (Time::HiRes::tv_interval($before, [Time::HiRes::gettimeofday]) == 0) {
+ Time::HiRes::usleep(10);
+}
$t->stop;
#4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Benchmark-Timer-0.7104/t/03_statistical.t new/Benchmark-Timer-0.7107/t/03_statistical.t
--- old/Benchmark-Timer-0.7104/t/03_statistical.t 2015-03-22 17:33:40.000000000 +0100
+++ new/Benchmark-Timer-0.7107/t/03_statistical.t 2015-04-12 05:03:19.000000000 +0200
@@ -21,7 +21,7 @@
unless (eval 'require Statistics::PointEstimation')
{
- plan skip_all => 'statsistics::PointEstimation is not installed';
+ plan skip_all => 'Statistics::PointEstimation is not installed';
exit;
}