summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/skip-load.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/skip-load.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/skip-load.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/skip-load.patch b/meta/recipes-devtools/strace/strace/skip-load.patch
new file mode 100644
index 0000000000..b1acfda5d8
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/skip-load.patch
@@ -0,0 +1,49 @@
1Skip tests which are known to be unreliable under load, typically because they
2care about timing.
3
4Upstream-Status: Inappropriate
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7---
8 tests/clock_nanosleep.gen.test | 1 +
9 tests/delay.test | 1 +
10 tests/strace-r.test | 1 +
11 3 files changed, 3 insertions(+)
12
13diff --git a/tests/clock_nanosleep.gen.test b/tests/clock_nanosleep.gen.test
14index 7a6025b..f0e6dbb 100755
15--- a/tests/clock_nanosleep.gen.test
16+++ b/tests/clock_nanosleep.gen.test
17@@ -1,4 +1,5 @@
18 #!/bin/sh -efu
19 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
20 . "${srcdir=.}/init.sh"
21+skip_ "Test not reliable under load"
22 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
23diff --git a/tests/delay.test b/tests/delay.test
24index f74e27f..6172c04 100755
25--- a/tests/delay.test
26+++ b/tests/delay.test
27@@ -8,6 +8,7 @@
28 # SPDX-License-Identifier: GPL-2.0-or-later
29
30 . "${srcdir=.}/init.sh"
31+skip_ "Test not reliable under load"
32
33 while read -r denter dexit denter_us dexit_us; do
34 [ -n "$denter" ] || continue
35diff --git a/tests/strace-r.test b/tests/strace-r.test
36index 8299737..d89c7df 100755
37--- a/tests/strace-r.test
38+++ b/tests/strace-r.test
39@@ -8,6 +8,7 @@
40 # SPDX-License-Identifier: GPL-2.0-or-later
41
42 . "${srcdir=.}/init.sh"
43+skip_ "Test not reliable under load"
44
45 r_opt="${1:--r}"
46
47--
482.25.1
49