From 03fe5355c2f4a148b8f21039e5782da81f1e0f83 Mon Sep 17 00:00:00 2001 From: Jiri Svoboda Date: Sun, 29 Nov 2020 00:41:39 +0100 Subject: [PATCH] Update OCR position for libui --- htest/vm/qemu.py | 2 +- test-in-vm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htest/vm/qemu.py b/htest/vm/qemu.py index f514678..e1b51d3 100755 --- a/htest/vm/qemu.py +++ b/htest/vm/qemu.py @@ -201,7 +201,7 @@ class QemuVMController(VMController): self._run_command([ 'convert', screenshot_full, - '-crop', '640x480+4+24', + '-crop', '640x480+4+26', '+repage', '-colors', '2', '-monochrome', diff --git a/test-in-vm.sh b/test-in-vm.sh index fd95114..5781eaf 100755 --- a/test-in-vm.sh +++ b/test-in-vm.sh @@ -376,7 +376,7 @@ xx_do_screenshot() { # Looping as the screenshot might take some time to save local retries=3 while true; do - if convert "$2" -crop 640x480+4+24 +repage -colors 2 -monochrome "$3"; then + if convert "$2" -crop 640x480+4+26 +repage -colors 2 -monochrome "$3"; then break fi retries=$(( $retries - 1 )) -- 2.11.4.GIT