summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-05 15:11:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-07 17:27:51 +0000
commit96af410e8e34c31dd8feb200510038bfc3a83ed9 (patch)
treee9a8e5731e4e398b9c618b007822d702a48fa400 /meta/lib/oeqa/runtime
parent4d161405d5fdf53e28a5a4f74a0c5c53ef14180e (diff)
downloadpoky-96af410e8e34c31dd8feb200510038bfc3a83ed9.tar.gz
oeqa/runtime/login: Mask out the mouse panel icon for now
The mouse panel icon can move when the time changes between 3 and 4 digits. Ideally we'd fix the alignment of the clock on the panel but to get the tests working, increase the size of the mask for now. (From OE-Core rev: 8ec02142ab98741749281bdb29d5973c96b839d7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/cases/login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/login.py b/meta/lib/oeqa/runtime/cases/login.py
index 175a60c48c..ac8a0454f3 100644
--- a/meta/lib/oeqa/runtime/cases/login.py
+++ b/meta/lib/oeqa/runtime/cases/login.py
@@ -84,10 +84,10 @@ class LoginTest(OERuntimeTestCase):
84 width = subprocess.check_output(cmd, shell=True, env=ourenv).decode() 84 width = subprocess.check_output(cmd, shell=True, env=ourenv).decode()
85 85
86 rblank = int(float(width)) 86 rblank = int(float(width))
87 lblank = rblank-40 87 lblank = rblank-80
88 88
89 # Use the meta-oe version of convert, along with it's suffix. This blanks out the clock. 89 # Use the meta-oe version of convert, along with it's suffix. This blanks out the clock.
90 cmd = "convert.im7 {0} -fill white -draw 'rectangle {1},10 {2},22' {3}".format(t.name, str(rblank), str(lblank), t.name) 90 cmd = "convert.im7 {0} -fill white -draw 'rectangle {1},4 {2},28' {3}".format(t.name, str(rblank), str(lblank), t.name)
91 convert_out=subprocess.check_output(cmd, shell=True, env=ourenv).decode() 91 convert_out=subprocess.check_output(cmd, shell=True, env=ourenv).decode()
92 92
93 93