diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-07-05 11:27:49 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-08-08 10:18:56 +0200 |
commit | dbce57bb513746d49ef5d3c41e80a3bc4e525f15 (patch) | |
tree | 88778e1b4d0d12dcada2f487eb1358e191421eaf | |
parent | 9185d61f090e40f54530f9723d970910ede087a3 (diff) | |
download | major-dbce57bb513746d49ef5d3c41e80a3bc4e525f15.tar.gz major-dbce57bb513746d49ef5d3c41e80a3bc4e525f15.tar.bz2 major-dbce57bb513746d49ef5d3c41e80a3bc4e525f15.zip |
Fix screenshot comparison
Change-Id: I748155905434a53aefd89a02596be8618eba5449
-rwxr-xr-x | tsp/jobs/publish.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tsp/jobs/publish.sh b/tsp/jobs/publish.sh index e6f8a99..96ed6fa 100755 --- a/tsp/jobs/publish.sh +++ b/tsp/jobs/publish.sh @@ -176,13 +176,13 @@ SCREENSHOT_TAG="Fail" if [ -n "$SCREENSHOT_DIFF" ] then - if [ "$SCREENSHOT_DIFF" -gt 0 ] + if [ "$SCREENSHOT_DIFF" -eq 0 ] then + SCREENSHOT_TAG="OK" + else echo "Screenshots are different, overwrite AVOCADO_TAG" SCREENSHOT_TAG="Unclear" OVERALL_TAG="Unclear" - else - SCREENSHOT_TAG="OK" fi fi |