SHA256
1
0
forked from pool/perl

Accepting request 186417 from home:k0da:ppc

- skip itimer test from Timer-HiRes for powerpc. Build hosts
  are overloaded, building locally shows tests are passed
  (skip_time_hires.patch)

OBS-URL: https://build.opensuse.org/request/show/186417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=99
This commit is contained in:
Robert Schweikert 2013-08-08 15:39:00 +00:00 committed by Git OBS Bridge
parent 738010d503
commit 9b96f2328e
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 8 14:51:42 UTC 2013 - dvaleev@suse.com
- skip itimer test from Timer-HiRes for powerpc. Build hosts
are overloaded, building locally shows tests are passed
(skip_time_hires.patch)
-------------------------------------------------------------------
Fri Jun 14 22:51:27 UTC 2013 - jengelh@inai.de

View File

@ -38,6 +38,7 @@ Patch4: perl-netcmdutf8.diff
Patch5: perl-HiRes.t-timeout.diff
Patch6: perl-saverecontext.diff
Patch7: perl-db6.diff
Patch8: skip_time_hires.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: perl-base = %version
#PreReq: %fillup_prereq
@ -165,6 +166,9 @@ cp -p %{S:3} .
%patch5
%patch6
%patch -P 7 -p1
%ifarch ppc ppc64
%patch8 -p1
%endif
%build
cp -a lib savelib

12
skip_time_hires.patch Normal file
View File

@ -0,0 +1,12 @@
Index: perl-5.18.0/cpan/Time-HiRes/t/itimer.t
===================================================================
--- perl-5.18.0.orig/cpan/Time-HiRes/t/itimer.t
+++ perl-5.18.0/cpan/Time-HiRes/t/itimer.t
@@ -1,5 +1,7 @@
use strict;
+use Test::More skip_all => "ppc workers are too busy";
+
sub has_symbol {
my $symbol = shift;
eval "use Time::HiRes qw($symbol)";