Michael Schröder
18dfe2bd8e
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=139
45 lines
1.7 KiB
Diff
45 lines
1.7 KiB
Diff
--- ./dist/Time-HiRes/t/alarm.t.orig 2016-03-01 12:33:02.000000000 +0000
|
|
+++ ./dist/Time-HiRes/t/alarm.t 2016-05-09 11:52:55.105232324 +0000
|
|
@@ -7,7 +7,7 @@ BEGIN { require_ok "Time::HiRes"; }
|
|
|
|
use Config;
|
|
|
|
-my $limit = 0.25; # 25% is acceptable slosh for testing timers
|
|
+my $limit = 0.60; # 25% is acceptable slosh for testing timers
|
|
|
|
my $xdefine = '';
|
|
if (open(XDEFINE, "xdefine")) {
|
|
--- ./dist/Time-HiRes/t/clock.t.orig 2016-03-01 12:33:02.000000000 +0000
|
|
+++ ./dist/Time-HiRes/t/clock.t 2016-05-09 11:52:55.106232324 +0000
|
|
@@ -28,7 +28,7 @@ note sprintf "have_clock = %d"
|
|
# 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.25; # 25% is acceptable slosh for testing timers
|
|
+my $limit = 0.60; # 25% is acceptable slosh for testing timers
|
|
|
|
SKIP: {
|
|
skip "no clock_gettime", 1
|
|
--- ./dist/Time-HiRes/t/itimer.t.orig 2016-03-01 12:33:02.000000000 +0000
|
|
+++ ./dist/Time-HiRes/t/itimer.t 2016-05-09 11:52:55.106232324 +0000
|
|
@@ -28,7 +28,7 @@ BEGIN {
|
|
use Test::More 0.82 tests => 2;
|
|
use t::Watchdog;
|
|
|
|
-my $limit = 0.25; # 25% is acceptable slosh for testing timers
|
|
+my $limit = 0.60; # 25% is acceptable slosh for testing timers
|
|
|
|
my $i = 3;
|
|
my $r = [Time::HiRes::gettimeofday()];
|
|
--- ./dist/Time-HiRes/t/usleep.t.orig 2016-03-01 12:33:02.000000000 +0000
|
|
+++ ./dist/Time-HiRes/t/usleep.t 2016-05-09 11:52:55.107232323 +0000
|
|
@@ -15,7 +15,7 @@ eval { Time::HiRes::usleep(-2) };
|
|
like $@, qr/::usleep\(-2\): negative time not invented yet/,
|
|
"negative time error";
|
|
|
|
-my $limit = 0.25; # 25% is acceptable slosh for testing timers
|
|
+my $limit = 0.60; # 25% is acceptable slosh for testing timers
|
|
|
|
my $one = CORE::time;
|
|
Time::HiRes::usleep(10_000);
|