summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/skip-load.patch
blob: fa3ddb8ddc30acdf80607e413c2974c329f4c671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Skip tests which are known to be unreliable under load, typically because they
care about timing.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@arm.com>

diff --git a/tests/clock_nanosleep.gen.test b/tests/clock_nanosleep.gen.test
index 7a6025b..f0e6dbb 100755
--- a/tests/clock_nanosleep.gen.test
+++ b/tests/clock_nanosleep.gen.test
@@ -1,4 +1,5 @@
 #!/bin/sh -efu
 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
 . "${srcdir=.}/init.sh"
+skip_ "Test not reliable under load"
 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
diff --git a/tests/delay.test b/tests/delay.test
index f74e27f..328087e 100755
--- a/tests/delay.test
+++ b/tests/delay.test
@@ -9,6 +9,8 @@
 
 . "${srcdir=.}/init.sh"
 
+skip_ "Test not reliable under load"
+
 while read -r denter dexit denter_us dexit_us; do
 	[ -n "$denter" ] || continue
 
diff --git a/tests/strace-T.test b/tests/strace-T.test
index adca3e8..d4acfe9 100755
--- a/tests/strace-T.test
+++ b/tests/strace-T.test
@@ -9,6 +9,8 @@
 
 . "${srcdir=.}/init.sh"
 
+skip_ "Test not reliable under load"
+
 T_opt="${1:--T}"
 
 run_prog ../sleep 0
diff --git a/tests/strace-r.test b/tests/strace-r.test
index 8299737..c360344 100755
--- a/tests/strace-r.test
+++ b/tests/strace-r.test
@@ -9,6 +9,8 @@
 
 . "${srcdir=.}/init.sh"
 
+skip_ "Test not reliable under load"
+
 r_opt="${1:--r}"
 
 run_prog ../sleep 0