]> git.pld-linux.org Git - packages/perl.git/commitdiff
- perl-timer-test.patch: increased limits so the timer test doesn't
authorqrczak <qrczak@pld-linux.org>
Sun, 11 Feb 2007 00:37:39 +0000 (00:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  fail so easily under a heavy loaded system.

Changed files:
    perl-timer-test.patch -> 1.1
    perl.spec -> 1.352

perl-timer-test.patch [new file with mode: 0644]
perl.spec

diff --git a/perl-timer-test.patch b/perl-timer-test.patch
new file mode 100644 (file)
index 0000000..396d8f0
--- /dev/null
@@ -0,0 +1,20 @@
+--- perl-5.8.8/ext/Time/HiRes/t/HiRes.t~       2005-12-17 20:20:26.000000000 +0100
++++ perl-5.8.8/ext/Time/HiRes/t/HiRes.t        2007-02-11 00:06:42.000000000 +0100
+@@ -65,7 +65,7 @@
+ my $have_alarm = $Config{d_alarm};
+ my $have_fork  = $Config{d_fork};
+-my $waitfor = 60; # 10-20 seconds is normal (load affects this).
++my $waitfor = 150; # 10-20 seconds is normal (load affects this).
+ my $timer_pid;
+ my $TheEnd;
+@@ -109,7 +109,7 @@
+ # completes fine with (say) 30% slosh, and fail otherwise.  If you do that,
+ # consider changing over to test.pl at the same time.
+ # --A.D., Nov 27, 2001
+-my $limit = 0.20; # 20% is acceptable slosh for testing timers
++my $limit = 0.50; # 50% is acceptable slosh for testing timers
+ sub skip {
+     map { print "ok $_ # skipped\n" } @_;
index b471ae044d185994af04ed3f2aa767c59913a8bc..16be776b9f6c9f42d3cdc7a0047210889cc88618 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -75,6 +75,7 @@ Patch11:      %{name}-5.8.7-CAN-2004-0976.patch
 Patch12:       %{name}_588-27203.patch
 Patch13:       %{name}-ExtUtils-MakeMaker-write-permissions.patch
 Patch14:       %{name}-makedepend.patch
+Patch15:       %{name}-timer-test.patch
 URL:           http://dev.perl.org/perl5/
 %ifarch ppc
 # gcc 3.3.x miscompiles pp_hot.c
@@ -643,6 +644,7 @@ microperlu - popraw je.
 %patch12 -p0
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 
 %build
 unset LD_SYMBOLIC_FUNCTIONS || :
This page took 0.140651 seconds and 4 git commands to generate.