diff options
Diffstat (limited to 'meta/recipes-extended/gawk/gawk/test-time.patch')
-rw-r--r-- | meta/recipes-extended/gawk/gawk/test-time.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-extended/gawk/gawk/test-time.patch b/meta/recipes-extended/gawk/gawk/test-time.patch deleted file mode 100644 index 05a68c5faf..0000000000 --- a/meta/recipes-extended/gawk/gawk/test-time.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | The test time.awk does a sleep() and checks that the real sleep duration is | ||
2 | close to the expected duration. | ||
3 | |||
4 | As currently our tests can run on a heavily loaded system, increase the range of | ||
5 | a passing duration. | ||
6 | |||
7 | Upstream-Status: Inappropriate | ||
8 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
9 | |||
10 | diff --git a/test/time.awk b/test/time.awk | ||
11 | index 517377e2..ca81d92d 100644 | ||
12 | --- a/test/time.awk | ||
13 | +++ b/test/time.awk | ||
14 | @@ -16,7 +16,7 @@ BEGIN { | ||
15 | printf "sleep(%s) = %s\n",delta,sleep(delta) | ||
16 | t1 = timecheck() | ||
17 | slept = t1-t0 | ||
18 | - if ((slept < 0.9*delta) || (slept > 1.3*delta)) | ||
19 | + if ((slept < 0.5*delta) || (slept > 2*delta)) | ||
20 | printf "Warning: tried to sleep %.2f secs, but slept for %.2f secs\n", | ||
21 | delta,slept | ||
22 | } | ||