Hello community,
here is the log from the commit of package perl-Test-SharedFork for
openSUSE:Factory checked in at 2015-06-09 12:24:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-SharedFork (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-SharedFork.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-SharedFork"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-SharedFork/perl-Test-SharedFork.changes
2015-05-02 17:44:37.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-SharedFork.new/perl-Test-SharedFork.changes
2015-06-09 12:24:52.000000000 +0200
@@ -1,0 +2,15 @@
+Sun Jun 7 09:08:02 UTC 2015 - [email protected]
+
+- updated to 0.33
+ see /usr/share/doc/packages/perl-Test-SharedFork/Changes
+
+ 0.33 2015-06-06T03:36:58Z
+
+ - Tell Test::Stream::IPC to poll for results
+
+ 0.32 2015-06-04T16:14:57Z
+
+ - Update for newer Test::Stream
+ - REmove some old Test::Stream support
+
+-------------------------------------------------------------------
Old:
----
Test-SharedFork-0.31.tar.gz
New:
----
Test-SharedFork-0.33.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-SharedFork.spec ++++++
--- /var/tmp/diff_new_pack.Rr2yya/_old 2015-06-09 12:24:52.000000000 +0200
+++ /var/tmp/diff_new_pack.Rr2yya/_new 2015-06-09 12:24:52.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Test-SharedFork
-Version: 0.31
+Version: 0.33
Release: 0
%define cpan_name Test-SharedFork
Summary: Fork Test
++++++ Test-SharedFork-0.31.tar.gz -> Test-SharedFork-0.33.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-SharedFork-0.31/Changes
new/Test-SharedFork-0.33/Changes
--- old/Test-SharedFork-0.31/Changes 2015-04-28 22:26:13.000000000 +0200
+++ new/Test-SharedFork-0.33/Changes 2015-06-06 05:37:40.000000000 +0200
@@ -1,5 +1,14 @@
Revision history for Perl module Test::SharedFork
+0.33 2015-06-06T03:36:58Z
+
+ - Tell Test::Stream::IPC to poll for results
+
+0.32 2015-06-04T16:14:57Z
+
+ - Update for newer Test::Stream
+ - REmove some old Test::Stream support
+
0.31 2015-04-28T20:25:31Z
- Fix test that accidentally got commited last release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-SharedFork-0.31/META.json
new/Test-SharedFork-0.33/META.json
--- old/Test-SharedFork-0.31/META.json 2015-04-28 22:26:13.000000000 +0200
+++ new/Test-SharedFork-0.33/META.json 2015-06-06 05:37:40.000000000 +0200
@@ -4,7 +4,7 @@
"Tokuhiro Matsuno <tokuhirom slkjfd gmail.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v2.4.0",
+ "generated_by" : "Minilla/v2.4.1",
"license" : [
"perl_5"
],
@@ -61,7 +61,7 @@
"provides" : {
"Test::SharedFork" : {
"file" : "lib/Test/SharedFork.pm",
- "version" : "0.31"
+ "version" : "0.33"
},
"Test::SharedFork::Array" : {
"file" : "lib/Test/SharedFork/Array.pm"
@@ -84,7 +84,7 @@
"web" : "https://github.com/tokuhirom/Test-SharedFork"
}
},
- "version" : "0.31",
+ "version" : "0.33",
"x_contributors" : [
"lestrrat <[email protected]>",
"Vyacheslav Matyukhin <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-SharedFork-0.31/META.yml
new/Test-SharedFork-0.33/META.yml
--- old/Test-SharedFork-0.31/META.yml 2015-04-28 22:26:13.000000000 +0200
+++ new/Test-SharedFork-0.33/META.yml 2015-06-06 05:37:40.000000000 +0200
@@ -10,7 +10,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Minilla/v2.4.0, CPAN::Meta::Converter version 2.142060'
+generated_by: 'Minilla/v2.4.1, CPAN::Meta::Converter version 2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,7 +29,7 @@
provides:
Test::SharedFork:
file: lib/Test/SharedFork.pm
- version: '0.31'
+ version: '0.33'
Test::SharedFork::Array:
file: lib/Test/SharedFork/Array.pm
Test::SharedFork::Scalar:
@@ -46,7 +46,7 @@
bugtracker: https://github.com/tokuhirom/Test-SharedFork/issues
homepage: https://github.com/tokuhirom/Test-SharedFork
repository: git://github.com/tokuhirom/Test-SharedFork.git
-version: '0.31'
+version: '0.33'
x_contributors:
- 'lestrrat <[email protected]>'
- 'Vyacheslav Matyukhin <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-SharedFork-0.31/Makefile.PL
new/Test-SharedFork-0.33/Makefile.PL
--- old/Test-SharedFork-0.31/Makefile.PL 2015-04-28 22:26:13.000000000
+0200
+++ new/Test-SharedFork-0.33/Makefile.PL 2015-06-06 05:37:40.000000000
+0200
@@ -12,7 +12,7 @@
my %WriteMakefileArgs = (
NAME => 'Test::SharedFork',
DISTNAME => 'Test-SharedFork',
- VERSION => '0.31',
+ VERSION => '0.33',
CONFIGURE_REQUIRES => {
"ExtUtils::MakeMaker" => 0
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-SharedFork-0.31/lib/Test/SharedFork.pm
new/Test-SharedFork-0.33/lib/Test/SharedFork.pm
--- old/Test-SharedFork-0.31/lib/Test/SharedFork.pm 2015-04-28
22:26:13.000000000 +0200
+++ new/Test-SharedFork-0.33/lib/Test/SharedFork.pm 2015-06-06
05:37:40.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
use base 'Test::Builder::Module';
-our $VERSION = '0.31';
+our $VERSION = '0.33';
use Test::Builder 0.32; # 0.32 or later is needed
use Test::SharedFork::Scalar;
use Test::SharedFork::Array;
@@ -53,80 +53,35 @@
if ($builder->can("coordinate_forks")) {
# Use Test::Builder's implementation.
$builder->new->coordinate_forks(1);
- } elsif($INC{'Test/Stream.pm'}) {
- if (Test::Stream->can('use_fork')) {
- my $stream = $builder->{stream} || Test::Stream->shared;
- $stream->use_fork;
- }
- else {
- my $hub = $builder->{stream} || Test::Stream->shared;
- $hub->enable_concurrency(join => undef, wait => undef);
+ } elsif($INC{'Test/Stream/Sync.pm'}) {
+ require Test::Stream::IPC;
+ Test::Stream::IPC->import('poll');
+ my $stack = $builder->{Stack};
+ return if $stack->top->ipc;
+ my ($driver) = Test::Stream::IPC->drivers;
+ my $ipc = $driver->new();
+ for my $hub (@$stack) {
+ $hub->set_ipc($ipc);
+ $ipc->add_hub($hub->hid);
}
} else {
- if ($builder->can('trace_test')) {
- my $stream = $builder->stream;
- my $tap = $stream->tap;
- my $lresults = $stream->lresults;
- $STORE = Test::SharedFork::Store->new(
- cb => sub {
- my $store = shift;
-
- tie $stream->{tests_run}, 'Test::SharedFork::Scalar',
- $store, 'tests_run';
- tie $stream->{tests_failed}, 'Test::SharedFork::Scalar',
- $store, 'tests_failed';
- tie $stream->{is_passing}, 'Test::SharedFork::Scalar',
- $store, 'is_passing';
-
- if ($tap) {
- tie $tap->{number}, 'Test::SharedFork::Scalar',
- $store, 'number';
- tie $tap->{ok_lock}, 'Test::SharedFork::Scalar',
- $store, 'ok_lock';
- }
-
- if ($lresults) {
- tie $lresults->{Curr_Test}, 'Test::SharedFork::Scalar',
- $store, 'Curr_Test';
- tie @{ $lresults->{Test_Results} },
- 'Test::SharedFork::Array', $store, 'Test_Results';
- }
- },
- init => +{
- tests_run => $stream->{tests_run},
- tests_failed => $stream->{tests_failed},
- is_passing => 1,
-
- $tap ? (
- number => $tap->{number},
- ok_lock => $tap->{ok_lock},
- ) : (),
-
- $lresults ? (
- Test_Results => $builder->{Test_Results} || [],
- Curr_Test => $builder->{Curr_Test} || 0,
- ) : (),
- },
- );
- } else {
- # older Test::Builder
- $STORE = Test::SharedFork::Store->new(
- cb => sub {
- my $store = shift;
- tie $builder->{Curr_Test}, 'Test::SharedFork::Scalar',
- $store, 'Curr_Test';
- tie $builder->{Is_Passing}, 'Test::SharedFork::Scalar',
- $store, 'Is_Passing';
- tie @{ $builder->{Test_Results} },
- 'Test::SharedFork::Array', $store, 'Test_Results';
- },
- init => +{
- Test_Results => $builder->{Test_Results},
- Curr_Test => $builder->{Curr_Test},
- Is_Passing => 1,
- },
- );
- }
+ # older Test::Builder
+ $STORE = Test::SharedFork::Store->new(
+ cb => sub {
+ my $store = shift;
+ tie $builder->{Curr_Test}, 'Test::SharedFork::Scalar',
+ $store, 'Curr_Test';
+ tie $builder->{Is_Passing}, 'Test::SharedFork::Scalar',
+ $store, 'Is_Passing';
+ tie @{ $builder->{Test_Results} },
+ 'Test::SharedFork::Array', $store, 'Test_Results';
+ },
+ init => +{
+ Test_Results => $builder->{Test_Results},
+ Curr_Test => $builder->{Curr_Test},
+ Is_Passing => 1,
+ },
+ );
# make methods atomic.
no strict 'refs';