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.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/lib/oeqa/runtime/cases/login.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/runtime/cases/login.py 
b/meta/lib/oeqa/runtime/cases/login.py
index 175a60c48ca..ac8a0454f38 100644
--- a/meta/lib/oeqa/runtime/cases/login.py
+++ b/meta/lib/oeqa/runtime/cases/login.py
@@ -84,10 +84,10 @@ class LoginTest(OERuntimeTestCase):
                 width = subprocess.check_output(cmd, shell=True, 
env=ourenv).decode()
 
             rblank = int(float(width))
-            lblank = rblank-40
+            lblank = rblank-80
 
             # Use the meta-oe version of convert, along with it's suffix. This 
blanks out the clock.
-            cmd = "convert.im7 {0} -fill white -draw 'rectangle {1},10 {2},22' 
{3}".format(t.name, str(rblank), str(lblank), t.name)
+            cmd = "convert.im7 {0} -fill white -draw 'rectangle {1},4 {2},28' 
{3}".format(t.name, str(rblank), str(lblank), t.name)
             convert_out=subprocess.check_output(cmd, shell=True, 
env=ourenv).decode()
 
 
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196739): 
https://lists.openembedded.org/g/openembedded-core/message/196739
Mute This Topic: https://lists.openembedded.org/mt/104768943/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to