SHA256
1
0
forked from pool/perl

Accepting request 186429 from devel:languages:perl

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

OBS-URL: https://build.opensuse.org/request/show/186429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=84
This commit is contained in:
Tomáš Chvátal 2013-08-13 08:18:19 +00:00 committed by Git OBS Bridge
commit eefb2eb5dd
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)";