Hello community,
here is the log from the commit of package perl-Test-Compile for
openSUSE:Factory checked in at 2019-11-11 13:00:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Compile.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Compile"
Mon Nov 11 13:00:40 2019 rev:10 rq:743344 version:2.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes
2019-10-18 14:35:53.119856260 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Compile.new.2990/perl-Test-Compile.changes
2019-11-11 13:00:40.421708321 +0100
@@ -1,0 +2,9 @@
+Thu Oct 24 09:47:00 UTC 2019 - <[email protected]>
+
+- updated to 2.3.1
+ see /usr/share/doc/packages/perl-Test-Compile/Changes
+
+ v2.3.1 2019-10-23
+ - RT-130694: all_pm_files_ok and all_pl_files_ok should return true/false
+
+-------------------------------------------------------------------
Old:
----
Test-Compile-v2.3.0.tar.gz
New:
----
Test-Compile-v2.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Compile.spec ++++++
--- /var/tmp/diff_new_pack.6bVLln/_old 2019-11-11 13:00:40.917708846 +0100
+++ /var/tmp/diff_new_pack.6bVLln/_new 2019-11-11 13:00:40.921708850 +0100
@@ -17,7 +17,7 @@
Name: perl-Test-Compile
-Version: 2.3.0
+Version: 2.3.1
Release: 0
%define cpan_name Test-Compile
Summary: Check whether Perl files compile correctly
++++++ Test-Compile-v2.3.0.tar.gz -> Test-Compile-v2.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v2.3.0/Changes
new/Test-Compile-v2.3.1/Changes
--- old/Test-Compile-v2.3.0/Changes 2019-10-09 00:23:20.000000000 +0200
+++ new/Test-Compile-v2.3.1/Changes 2019-10-23 05:21:42.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Perl extension Test-Compile
+v2.3.1 2019-10-23
+ - RT-130694: all_pm_files_ok and all_pl_files_ok should return true/false
+
v2.3.0 2019-10-09
- Search for perl files in blib first (Alexandr Ciornii
<[email protected]>)
- Improve tests, remove redundant code,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v2.3.0/META.json
new/Test-Compile-v2.3.1/META.json
--- old/Test-Compile-v2.3.0/META.json 2019-10-09 00:23:20.000000000 +0200
+++ new/Test-Compile-v2.3.1/META.json 2019-10-23 05:21:42.000000000 +0200
@@ -35,11 +35,11 @@
"provides" : {
"Test::Compile" : {
"file" : "lib/Test/Compile.pm",
- "version" : "v2.3.0"
+ "version" : "v2.3.1"
},
"Test::Compile::Internal" : {
"file" : "lib/Test/Compile/Internal.pm",
- "version" : "v2.3.0"
+ "version" : "v2.3.1"
}
},
"release_status" : "stable",
@@ -51,6 +51,6 @@
"url" : "http://github.com/egiles/test-compile"
}
},
- "version" : "v2.3.0",
+ "version" : "v2.3.1",
"x_serialization_backend" : "JSON::PP version 2.97001"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v2.3.0/META.yml
new/Test-Compile-v2.3.1/META.yml
--- old/Test-Compile-v2.3.0/META.yml 2019-10-09 00:23:20.000000000 +0200
+++ new/Test-Compile-v2.3.1/META.yml 2019-10-23 05:21:42.000000000 +0200
@@ -15,10 +15,10 @@
provides:
Test::Compile:
file: lib/Test/Compile.pm
- version: v2.3.0
+ version: v2.3.1
Test::Compile::Internal:
file: lib/Test/Compile/Internal.pm
- version: v2.3.0
+ version: v2.3.1
recommends:
Devel::CheckOS: '0'
requires:
@@ -30,5 +30,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: http://github.com/egiles/test-compile
-version: v2.3.0
+version: v2.3.1
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v2.3.0/lib/Test/Compile/Internal.pm
new/Test-Compile-v2.3.1/lib/Test/Compile/Internal.pm
--- old/Test-Compile-v2.3.0/lib/Test/Compile/Internal.pm 2019-10-09
00:23:20.000000000 +0200
+++ new/Test-Compile-v2.3.1/lib/Test/Compile/Internal.pm 2019-10-23
05:21:42.000000000 +0200
@@ -3,7 +3,7 @@
use warnings;
use strict;
-use version; our $VERSION = qv("v2.3.0");
+use version; our $VERSION = qv("v2.3.1");
use File::Spec;
use UNIVERSAL::require;
use Test::Builder;
@@ -60,8 +60,9 @@
sub all_files_ok {
my ($self, @dirs) = @_;
- $self->all_pm_files_ok(@dirs);
- $self->all_pl_files_ok(@dirs);
+ if ( $self->all_pm_files_ok(@dirs) && $self->all_pl_files_ok(@dirs) ) {
+ return 1;
+ }
}
@@ -79,10 +80,13 @@
my $test = $self->{test};
+ my $ok = 1;
for my $file ( $self->all_pm_files(@dirs) ) {
- my $ok = $self->pm_file_compiles($file);
- $test->ok($ok, "$file compiles");
+ my $testok = $self->pm_file_compiles($file);
+ $ok = $testok ? $ok : 0;
+ $test->ok($testok, "$file compiles");
}
+ return $ok;
}
@@ -100,10 +104,13 @@
my $test = $self->{test};
+ my $ok = 1;
for my $file ( $self->all_pl_files(@dirs) ) {
- my $ok = $self->pl_file_compiles($file);
- $test->ok($ok, "$file compiles");
+ my $testok = $self->pl_file_compiles($file);
+ $ok = $testok ? $ok : 0;
+ $test->ok($testok, "$file compiles");
}
+ return $ok;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v2.3.0/lib/Test/Compile.pm
new/Test-Compile-v2.3.1/lib/Test/Compile.pm
--- old/Test-Compile-v2.3.0/lib/Test/Compile.pm 2019-10-09 00:23:20.000000000
+0200
+++ new/Test-Compile-v2.3.1/lib/Test/Compile.pm 2019-10-23 05:21:42.000000000
+0200
@@ -3,7 +3,7 @@
use warnings;
use strict;
-use version; our $VERSION = qv("v2.3.0");
+use version; our $VERSION = qv("v2.3.1");
use parent 'Exporter';
use UNIVERSAL::require;
use Test::Compile::Internal;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v2.3.0/t/100-internal-basic.t
new/Test-Compile-v2.3.1/t/100-internal-basic.t
--- old/Test-Compile-v2.3.0/t/100-internal-basic.t 2019-10-09
00:23:20.000000000 +0200
+++ new/Test-Compile-v2.3.1/t/100-internal-basic.t 2019-10-23
05:21:42.000000000 +0200
@@ -10,8 +10,14 @@
# Run some of the basic meithods, with basic test conditions
# ..mostly just to ensure they get executed
-$test->all_pl_files_ok('t/scripts/lib.pl');
-$test->all_pm_files_ok('lib/');
+my $result = $test->all_pl_files_ok('t/scripts/lib.pl');
+$test->ok($result, "all_pl_files_ok returns true value");
+
+$result = $test->all_pm_files_ok('lib/');
+$test->ok($result, "all_pm_files_ok returns true value");
+
+$result = $test->all_files_ok();
+$test->ok($result, "all_files_ok returns true value");
# Fin...
$test->done_testing();