diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-06-02 00:02:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-06-02 00:02:24 +0300 |
commit | 141d53b467b9c2af1f300c4dadf3f041ff5b2ee5 (patch) | |
tree | c9158609b8643e9e80a8eacba583839b3105b3ee /tools/ci/scripts | |
parent | a34226e5125c2c494624241ca2d0d3d575fd4782 (diff) | |
download | plus-141d53b467b9c2af1f300c4dadf3f041ff5b2ee5.tar.gz plus-141d53b467b9c2af1f300c4dadf3f041ff5b2ee5.tar.bz2 plus-141d53b467b9c2af1f300c4dadf3f041ff5b2ee5.tar.xz plus-141d53b467b9c2af1f300c4dadf3f041ff5b2ee5.zip |
Update runtest ci script for support offset from variable
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-x | tools/ci/scripts/runtest.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index dc2aa108c..41fb1c7c4 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -131,6 +131,10 @@ function imagessame { fi } +if [[ -z "${ABOUTYOFFSET}" ]]; then + export ABOUTYOFFSET="395" +fi + run check_is_run @@ -232,7 +236,7 @@ send_command "/sendmousekey 500 20 1" send_command "/screenshot about.png" # open about manaplus page -send_command "/sendmousekey 300 395 1" +send_command "/sendmousekey 300 ${ABOUTYOFFSET} 1" send_command "/screenshot about2.png" imagesdiff about.png about2.png |