commit perl-Test-Compile for openSUSE:Factory

Hello community, here is the log from the commit of package perl-Test-Compile for openSUSE:Factory checked in at 2015-09-30 05:52:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Compile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Test-Compile" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes 2015-04-15 16:27:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Compile.new/perl-Test-Compile.changes 2015-09-30 05:52:19.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Sep 26 09:15:01 UTC 2015 - coolo@suse.com + +- updated to 1.3.0 + see /usr/share/doc/packages/perl-Test-Compile/Changes + +------------------------------------------------------------------- Old: ---- Test-Compile-v1.2.1.tar.gz New: ---- Test-Compile-v1.3.0.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Compile.spec ++++++ --- /var/tmp/diff_new_pack.sWnywk/_old 2015-09-30 05:52:20.000000000 +0200 +++ /var/tmp/diff_new_pack.sWnywk/_new 2015-09-30 05:52:20.000000000 +0200 @@ -17,19 +17,20 @@ Name: perl-Test-Compile -Version: 1.2.1 +Version: 1.3.0 Release: 0 %define cpan_name Test-Compile Summary: Check whether Perl files compile correctly License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Compile/ -Source: http://www.cpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.38 +BuildRequires: perl(Module::Build) >= 0.380000 BuildRequires: perl(UNIVERSAL::require) BuildRequires: perl(version) Requires: perl(UNIVERSAL::require) ++++++ Test-Compile-v1.2.1.tar.gz -> Test-Compile-v1.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/Changes new/Test-Compile-v1.3.0/Changes --- old/Test-Compile-v1.2.1/Changes 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/Changes 2015-09-24 06:11:38.000000000 +0200 @@ -1,6 +1,13 @@ Revision history for Perl extension Test-Compile -v1.2.1 UNRELEASED (Evan Giles <egiles@cpan.org>) +v1.3.0 2015-09-24 (Evan Giles <egiles@cpan.org>) + - Announce the deprecation the procedural functions (long overdue) + - Remove the 'use 5.6.2' statements, they cause warnings. + - Fix some spelling errors + - Move the xt tests into the main test directory + - Protect against strange PERL5LIB chars (CPAN-RT 104614) + +v1.2.1 2014-12-09 (Evan Giles <egiles@cpan.org>) - Fix (skip where appropriate) failing CPAN test - Avoid warnings for empty files in all_pl_files (Nigel Gregoire) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/MANIFEST new/Test-Compile-v1.3.0/MANIFEST --- old/Test-Compile-v1.2.1/MANIFEST 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/MANIFEST 2015-09-24 06:11:38.000000000 +0200 @@ -20,6 +20,14 @@ t/200-pl-file-ok.t t/200-pl-file-ok-vms.t t/200-taint.t +t/999-has-version.t +t/999-perlcritic.t +t/999-pod-coverage.t +t/999-pod.t +t/999-portability.t +t/999-synopsis.t +t/999-version.t +t/perlcriticrc t/scripts/CVS/Ignore.pm t/scripts/CVS/taint2.pl t/scripts/datafile @@ -33,11 +41,3 @@ t/scripts/subdir/empty t/scripts/subdir/success.pl t/scripts/taint.pl -xt/author/01_perl_critic.t -xt/author/02_pod.t -xt/author/04_pod_coverage.t -xt/author/07_portability_files.t -xt/author/08_synopsis.t -xt/author/10_has_version.t -xt/author/99-version.t -xt/author/perlcriticrc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/META.json new/Test-Compile-v1.3.0/META.json --- old/Test-Compile-v1.2.1/META.json 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/META.json 2015-09-24 06:11:38.000000000 +0200 @@ -4,7 +4,7 @@ "Evan Giles <egiles@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440", + "generated_by" : "Module::Build version 0.421", "license" : [ "perl_5" ], @@ -21,23 +21,23 @@ }, "runtime" : { "recommends" : { - "Devel::CheckOS" : 0 + "Devel::CheckOS" : "0" }, "requires" : { - "UNIVERSAL::require" : 0, + "UNIVERSAL::require" : "0", "perl" : "v5.6.2", - "version" : 0 + "version" : "0" } } }, "provides" : { "Test::Compile" : { "file" : "lib/Test/Compile.pm", - "version" : "v1.2.1" + "version" : "v1.3.0" }, "Test::Compile::Internal" : { "file" : "lib/Test/Compile/Internal.pm", - "version" : "v1.2.1" + "version" : "v1.3.0" } }, "release_status" : "stable", @@ -49,5 +49,5 @@ "url" : "http://github.com/egiles/test-compile" } }, - "version" : "v1.2.1" + "version" : "v1.3.0" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/META.yml new/Test-Compile-v1.3.0/META.yml --- old/Test-Compile-v1.2.1/META.yml 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/META.yml 2015-09-24 06:11:38.000000000 +0200 @@ -4,28 +4,28 @@ - 'Evan Giles <egiles@cpan.org>' build_requires: {} configure_requires: - Module::Build: 0.38 + Module::Build: '0.38' dynamic_config: 1 -generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440' +generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.142690' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Test-Compile provides: Test::Compile: file: lib/Test/Compile.pm - version: v1.2.1 + version: v1.3.0 Test::Compile::Internal: file: lib/Test/Compile/Internal.pm - version: v1.2.1 + version: v1.3.0 recommends: - Devel::CheckOS: 0 + Devel::CheckOS: '0' requires: - UNIVERSAL::require: 0 + UNIVERSAL::require: '0' perl: v5.6.2 - version: 0 + version: '0' resources: license: http://dev.perl.org/licenses/ repository: http://github.com/egiles/test-compile -version: v1.2.1 +version: v1.3.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/Makefile.PL new/Test-Compile-v1.3.0/Makefile.PL --- old/Test-Compile-v1.2.1/Makefile.PL 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/Makefile.PL 2015-09-24 06:11:38.000000000 +0200 @@ -1,16 +1,16 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.3800 +# Note: this file was auto-generated by Module::Build::Compat version 0.4210 require 5.006002; use ExtUtils::MakeMaker; WriteMakefile ( 'NAME' => 'Test::Compile', - 'VERSION_FROM' => 'lib/Test/Compile.pm', - 'PREREQ_PM' => { - 'UNIVERSAL::require' => 0, - 'version' => 0 - }, 'INSTALLDIRS' => 'site', + 'VERSION_FROM' => 'lib/Test/Compile.pm', + 'PL_FILES' => {}, 'EXE_FILES' => [], - 'PL_FILES' => {} + 'PREREQ_PM' => { + 'version' => 0, + 'UNIVERSAL::require' => 0 + } ) ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/README new/Test-Compile-v1.3.0/README --- old/Test-Compile-v1.2.1/README 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/README 2015-09-24 06:11:38.000000000 +0200 @@ -4,7 +4,7 @@ Test::Simple fashion. It can test all Perl files in a distribution, or individual files. -DEPENDANCIES +DEPENDENCIES Requires perl v5.6.2, plus * UNIVERSAL::require * version @@ -18,7 +18,7 @@ ./Build install COPYRIGHT AND LICENSE - Copyright 2007-2014. + Copyright 2007-2015. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/lib/Test/Compile/Internal.pm new/Test-Compile-v1.3.0/lib/Test/Compile/Internal.pm --- old/Test-Compile-v1.2.1/lib/Test/Compile/Internal.pm 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/lib/Test/Compile/Internal.pm 2015-09-24 06:11:38.000000000 +0200 @@ -1,10 +1,9 @@ package Test::Compile::Internal; -use 5.6.2; use warnings; use strict; -use version; our $VERSION = qv("v1.2.1"); +use version; our $VERSION = qv("v1.3.0"); use File::Spec; use UNIVERSAL::require; use Test::Builder; @@ -38,7 +37,7 @@ =cut sub new { - my ($class,%self) = @_; + my ($class, %self) = @_; my $self = \%self; $self->{test} = Test::Builder->new(); @@ -51,38 +50,38 @@ Checks all the perl files it can find for compilation errors. -If C<@dirs> is defined then it is taken as an array of directories to -be searched for perl files, otherwise it searches some default locatioons -- see L</all_pm_files()> and L</all_pl_files()>. +If C<@dirs> is defined then it is taken as an array of directories to +be searched for perl files, otherwise it searches some default locations +- see L</all_pm_files()> and L</all_pl_files()>. =cut sub all_files_ok { - my ($self,@dirs) = @_; + my ($self, @dirs) = @_; my $test = $self->{test}; for my $file ( $self->all_pl_files(@dirs) ) { my $ok = $self->pl_file_compiles($file); - $test->ok($ok,"$file compiles"); + $test->ok($ok, "$file compiles"); } for my $file ( $self->all_pm_files(@dirs) ) { my $ok = $self->pm_file_compiles($file); - $test->ok($ok,"$file compiles"); + $test->ok($ok, "$file compiles"); } } =item C<verbose($verbose)> -An accessor to get/set the verbose flag. If C<verbose> is set, you can get some +An accessor to get/set the verbose flag. If C<verbose> is set, you can get some extra diagnostics when compilation fails. Verbose is set on by default. =cut sub verbose { - my ($self,$verbose) = @_; + my ($self, $verbose) = @_; if ( defined($verbose) ) { $self->{verbose} = $verbose; @@ -104,7 +103,7 @@ =cut sub all_pm_files { - my ($self,@dirs) = @_; + my ($self, @dirs) = @_; @dirs = @dirs ? @dirs : _pm_starting_points(); @@ -133,7 +132,7 @@ =cut sub all_pl_files { - my ($self,@dirs) = @_; + my ($self, @dirs) = @_; @dirs = @dirs ? @dirs : _pl_starting_points(); @@ -163,14 +162,14 @@ =cut sub pl_file_compiles { - my ($self,$file) = @_; - return $self->_run_closure( + my ($self, $file) = @_; + return $self->_run_subprocess( sub{ if ( -f $file ) { my @inc = ('blib/lib', @INC); my $taint = $self->_is_in_taint_mode($file); system($^X, (map { "-I$_" } @inc), "-c$taint", $file); - return ($? ? 0 : 1); + return ($? == 0); } } ); @@ -185,16 +184,16 @@ =cut sub pm_file_compiles { - my ($self,$file,%args) = @_; + my ($self, $file, %args) = @_; - return $self->_run_closure( + return $self->_run_subprocess( sub{ if ( -f $file ) { my $module = $file; $module =~ s!^(blib[/\\])?lib[/\\]!!; $module =~ s![/\\]!::!g; $module =~ s/\.pm$//; - + return 1 if $module->require; $self->{test}->diag("Compilation of $module failed: $@") @@ -222,18 +221,18 @@ =cut sub done_testing { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->done_testing(@args); } -=item C<ok($test,$name)> +=item C<ok($test, $name)> Your basic test. Pass if C<$test> is true, fail if C<$test> is false. Just like C<Test::Simple>'s C<ok()>. =cut sub ok { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->ok(@args); } @@ -243,7 +242,7 @@ =cut sub plan { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->plan(@args); } @@ -255,7 +254,7 @@ =cut sub exported_to { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->exported_to(@args); } @@ -272,7 +271,7 @@ =cut sub diag { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->diag(@args); } @@ -283,7 +282,7 @@ =cut sub skip { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->skip(@args); } @@ -295,12 +294,12 @@ =cut sub skip_all { - my ($self,@args) = @_; + my ($self, @args) = @_; $self->{test}->skip_all(@args); } -sub _run_closure { - my ($self,$closure) = @_; +sub _run_subprocess { + my ($self, $closure) = @_; my $pid = fork(); if ( ! defined($pid) ) { @@ -320,7 +319,7 @@ } sub _find_files { - my ($self,@queue) = @_; + my ($self, @queue) = @_; for my $file (@queue) { if (defined($file) && -d $file) { @@ -354,7 +353,7 @@ } sub _read_shebang { - my ($self,$file) = @_; + my ($self, $file) = @_; open(my $f, "<", $file) or die "could not open $file"; my $line = <$f>; @@ -364,7 +363,7 @@ } sub _is_in_taint_mode { - my ($self,$file) = @_; + my ($self, $file) = @_; my $shebang = $self->_read_shebang($file); my $taint = ""; @@ -384,14 +383,14 @@ =head1 COPYRIGHT AND LICENSE -Copyright 2007-2014 by the authors. +Copyright 2007-2015 by the authors. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SEE ALSO -L<Test::Strict> proveds functions to ensure your perl files comnpile, with +L<Test::Strict> provides functions to ensure your perl files compile, with the added bonus that it will check you have used strict in all your files. =cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/lib/Test/Compile.pm new/Test-Compile-v1.3.0/lib/Test/Compile.pm --- old/Test-Compile-v1.2.1/lib/Test/Compile.pm 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/lib/Test/Compile.pm 2015-09-24 06:11:38.000000000 +0200 @@ -1,10 +1,9 @@ package Test::Compile; -use 5.6.2; use warnings; use strict; -use version; our $VERSION = qv("v1.2.1"); +use version; our $VERSION = qv("v1.3.0"); use UNIVERSAL::require; use Test::Compile::Internal; @@ -22,7 +21,7 @@ $test->all_files_ok(); $test->done_testing(); - # The procedural way + # The procedural way (deprecated) use Test::Compile; all_pm_files_ok(); @@ -85,7 +84,7 @@ Checks all the perl files it can find for compilation errors. If C<@dirs> is defined then it is taken as an array of directories to -be searched for perl files, otherwise it searches some default locatioons +be searched for perl files, otherwise it searches some default locations - see L</all_pm_files()> and L</all_pl_files()>. =item C<all_pm_files(@dirs)> @@ -140,7 +139,7 @@ Declares that you are done testing, no more tests will be run after this point. -=item C<ok($test,$name)> +=item C<ok($test, $name)> Your basic test. Pass if C<$test> is true, fail if C<$test> is false. Just like C<Test::Simple>'s C<ok()>. @@ -176,6 +175,15 @@ =head1 FUNCTIONS +The use of the following functions is deprecated and strongly discouraged. + +They are automatically exported to your namespace, which is +no longer considered best practise. At some stage in the future, this will +stop and you'll have to import them explicitly. + +Even then, you really should use the object oriented methods as they provide +a more consistent interface. + =over 4 =item C<all_pm_files_ok(@files)> @@ -255,7 +263,7 @@ $ok; } -=item C<pm_file_ok($filename,$testname)> +=item C<pm_file_ok($filename, $testname)> C<pm_file_ok()> will okay the test if $filename compiles as a perl module. @@ -265,7 +273,7 @@ =cut sub pm_file_ok { - my ($file,$name) = @_; + my ($file, $name) = @_; $name ||= "Compile test for $file"; @@ -276,7 +284,7 @@ return $ok; } -=item C<pl_file_ok($filename,$testname)> +=item C<pl_file_ok($filename, $testname)> C<pl_file_ok()> will okay the test if $filename compiles as a perl script. You need to give the path to the script relative to this distribution's base @@ -289,7 +297,7 @@ =cut sub pl_file_ok { - my ($file,$name) = @_; + my ($file, $name) = @_; $name ||= "Compile test for $file"; @@ -364,7 +372,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright 2007-2014 by the authors. +Copyright 2007-2015 by the authors. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. @@ -374,7 +382,7 @@ L<Test::Compile::Internal> provides the object oriented interface to (and the inner workings for) the Test::Compile functionality. -L<Test::Strict> proveds functions to ensure your perl files comnpile, with +L<Test::Strict> provides functions to ensure your perl files compile, with added bonus that it will check you have used strict in all your files. L<Test::LoadAllModules> just handles modules, not script files, but has more fine-grained control. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/100-internal-verbose.t new/Test-Compile-v1.3.0/t/100-internal-verbose.t --- old/Test-Compile-v1.2.1/t/100-internal-verbose.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/100-internal-verbose.t 2015-09-24 06:11:38.000000000 +0200 @@ -33,8 +33,8 @@ return; } - my $lib = join(":",@INC); - my $cmd = "PERL5LIB=$lib $^X $0"; + local $ENV{PERL5LIB} = join(":",@INC); + my $cmd = "$^X $0"; my $silent = `$cmd silent 2>&1`; is($silent,"","no output when in silent mode"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-has-version.t new/Test-Compile-v1.3.0/t/999-has-version.t --- old/Test-Compile-v1.2.1/t/999-has-version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-has-version.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,13 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => 'Test::HasVersion required' + unless eval 'use Test::HasVersion; 1'; + +all_pm_version_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-perlcritic.t new/Test-Compile-v1.3.0/t/999-perlcritic.t --- old/Test-Compile-v1.2.1/t/999-perlcritic.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-perlcritic.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,22 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +use FindBin '$Bin'; +use File::Spec; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => 'Perl::Critic required' + unless eval 'use Perl::Critic; 1'; +plan skip_all => 'Test::Perl::Critic required' + unless eval 'use Test::Perl::Critic; 1'; + +my %opt; +my $rc_file = File::Spec->catfile($Bin, 'perlcriticrc'); +$opt{'-profile'} = $rc_file if -r $rc_file; +Test::Perl::Critic->import(%opt); +all_critic_ok("lib"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-pod-coverage.t new/Test-Compile-v1.3.0/t/999-pod-coverage.t --- old/Test-Compile-v1.2.1/t/999-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-pod-coverage.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,15 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => 'Test::Pod::Coverage required' + unless eval 'use Test::Pod::Coverage; 1'; + +# Pod::Find doesn't use require() but traverses @INC manually. *sigh* +BEGIN { unshift @INC, @Devel::SearchINC::inc if @Devel::SearchINC::inc } +all_pod_coverage_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-pod.t new/Test-Compile-v1.3.0/t/999-pod.t --- old/Test-Compile-v1.2.1/t/999-pod.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-pod.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,13 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => 'Test::Pod required' + unless eval 'use Test::Pod; 1'; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-portability.t new/Test-Compile-v1.3.0/t/999-portability.t --- old/Test-Compile-v1.2.1/t/999-portability.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-portability.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,13 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => 'Test::Portability::Files required' + unless eval 'use Test::Portability::Files; 1'; + +run_tests(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-synopsis.t new/Test-Compile-v1.3.0/t/999-synopsis.t --- old/Test-Compile-v1.2.1/t/999-synopsis.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-synopsis.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,13 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => 'Test::Synopsis required' + unless eval 'use Test::Synopsis; 1'; + +all_synopsis_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/999-version.t new/Test-Compile-v1.3.0/t/999-version.t --- old/Test-Compile-v1.2.1/t/999-version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/999-version.t 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,14 @@ +#! perl + +use strict; +use warnings; + +use Test::More; + +plan skip_all => 'Set AUTHOR_TEST to run this test' + unless $ENV{AUTHOR_TEST}; +plan skip_all => "Test::ConsistentVersion required for checking versions" + unless eval "use Test::ConsistentVersion; 1"; + +Test::ConsistentVersion::check_consistent_versions(no_readme => 1, no_pod =>1); + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/t/perlcriticrc new/Test-Compile-v1.3.0/t/perlcriticrc --- old/Test-Compile-v1.2.1/t/perlcriticrc 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Compile-v1.3.0/t/perlcriticrc 2015-09-24 06:11:38.000000000 +0200 @@ -0,0 +1,12 @@ +# no strict 'refs' +[TestingAndDebugging::ProhibitNoStrict] +allow = refs + +[-BuiltinFunctions::ProhibitStringyEval] +[-ControlStructures::ProhibitMutatingListFunctions] +[-Subroutines::ProhibitExplicitReturnUndef] +[-Subroutines::ProhibitSubroutinePrototypes] +[-Variables::ProhibitConditionalDeclarations] + +# for mkdir $dir, 0777 +[-ValuesAndExpressions::ProhibitLeadingZeros] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/01_perl_critic.t new/Test-Compile-v1.3.0/xt/author/01_perl_critic.t --- old/Test-Compile-v1.2.1/xt/author/01_perl_critic.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/01_perl_critic.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -#!perl -w -use strict; -use warnings; -use FindBin '$Bin'; -use File::Spec; -use Test::More; -eval 'use Perl::Critic; 1' - or plan skip_all => 'Perl::Critic required'; -eval 'use Test::Perl::Critic; 1' - or plan skip_all => 'Test::Perl::Critic required'; -plan skip_all => 'skip author tests during AUTOMATED_TESTING' - if $ENV{AUTOMATED_TESTING}; -my %opt; -my $rc_file = File::Spec->catfile($Bin, 'perlcriticrc'); -$opt{'-profile'} = $rc_file if -r $rc_file; -Test::Perl::Critic->import(%opt); -all_critic_ok("lib"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/02_pod.t new/Test-Compile-v1.3.0/xt/author/02_pod.t --- old/Test-Compile-v1.2.1/xt/author/02_pod.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/02_pod.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -#!perl -w -use strict; -use warnings; -use Test::More; -eval 'use Test::Pod; 1' - or plan skip_all => 'Test::Pod required'; -plan skip_all => 'skip author tests during AUTOMATED_TESTING' - if $ENV{AUTOMATED_TESTING}; -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/04_pod_coverage.t new/Test-Compile-v1.3.0/xt/author/04_pod_coverage.t --- old/Test-Compile-v1.2.1/xt/author/04_pod_coverage.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/04_pod_coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!perl -w -use strict; -use warnings; -use Test::More; -eval 'use Test::Pod::Coverage; 1' - or plan skip_all => 'Test::Pod::Coverage required'; -plan skip_all => 'skip author tests during AUTOMATED_TESTING' - if $ENV{AUTOMATED_TESTING}; -plan skip_all => "pod coverage tests turned off in environment" - if $ENV{PERL_SKIP_POD_COVERAGE_TESTS}; - -# Pod::Find doesn't use require() but traverses @INC manually. *sigh* -BEGIN { unshift @INC, @Devel::SearchINC::inc if @Devel::SearchINC::inc } -all_pod_coverage_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/07_portability_files.t new/Test-Compile-v1.3.0/xt/author/07_portability_files.t --- old/Test-Compile-v1.2.1/xt/author/07_portability_files.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/07_portability_files.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -#!perl -T -use strict; -use warnings; -use Test::More; -eval 'use Test::Portability::Files; 1' - or plan skip_all => 'Test::Portability::Files required'; -SKIP: { - - # Have to use a skip block because that module plans a test in import() - skip 'skip author tests during AUTOMATED_TESTING', 1 - if $ENV{AUTOMATED_TESTING}; - run_tests(); -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/08_synopsis.t new/Test-Compile-v1.3.0/xt/author/08_synopsis.t --- old/Test-Compile-v1.2.1/xt/author/08_synopsis.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/08_synopsis.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -#!perl -use warnings; -use strict; -use Test::More; -eval 'use Test::Synopsis; 1' or - plan skip_all => 'Test::Synopsis required'; -plan skip_all => 'skip author tests during AUTOMATED_TESTING' if - $ENV{AUTOMATED_TESTING}; -all_synopsis_ok('lib'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/10_has_version.t new/Test-Compile-v1.3.0/xt/author/10_has_version.t --- old/Test-Compile-v1.2.1/xt/author/10_has_version.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/10_has_version.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -#!perl -w -use strict; -use warnings; -use Test::More; -eval 'use Test::HasVersion; 1' or - plan skip_all => 'Test::HasVersion required'; -plan skip_all => 'skip author tests during AUTOMATED_TESTING' if - $ENV{AUTOMATED_TESTING}; -all_pm_version_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/99-version.t new/Test-Compile-v1.3.0/xt/author/99-version.t --- old/Test-Compile-v1.2.1/xt/author/99-version.t 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/99-version.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -use Test::More; - -eval "use Test::ConsistentVersion"; -plan skip_all => "Test::ConsistentVersion required for checking versions" if $@; -Test::ConsistentVersion::check_consistent_versions(no_readme => 1, no_pod =>1); - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.1/xt/author/perlcriticrc new/Test-Compile-v1.3.0/xt/author/perlcriticrc --- old/Test-Compile-v1.2.1/xt/author/perlcriticrc 2014-12-08 01:01:52.000000000 +0100 +++ new/Test-Compile-v1.3.0/xt/author/perlcriticrc 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -# no strict 'refs' -[TestingAndDebugging::ProhibitNoStrict] -allow = refs - -[-BuiltinFunctions::ProhibitStringyEval] -[-ControlStructures::ProhibitMutatingListFunctions] -[-Subroutines::ProhibitExplicitReturnUndef] -[-Subroutines::ProhibitSubroutinePrototypes] -[-Variables::ProhibitConditionalDeclarations] - -# for mkdir $dir, 0777 -[-ValuesAndExpressions::ProhibitLeadingZeros] ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
participants (1)
-
root@hilbert.suse.de