summaryrefslogtreecommitdiff
path: root/tsp
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-07-05 09:27:49 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-08-08 08:18:56 (GMT)
commitdbce57bb513746d49ef5d3c41e80a3bc4e525f15 (patch)
tree88778e1b4d0d12dcada2f487eb1358e191421eaf /tsp
parent9185d61f090e40f54530f9723d970910ede087a3 (diff)
downloadmajor-dbce57bb513746d49ef5d3c41e80a3bc4e525f15.zip
major-dbce57bb513746d49ef5d3c41e80a3bc4e525f15.tar.gz
major-dbce57bb513746d49ef5d3c41e80a3bc4e525f15.tar.bz2
Fix screenshot comparisonrefs/changes/16/181816/1
Change-Id: I748155905434a53aefd89a02596be8618eba5449
Diffstat (limited to 'tsp')
-rwxr-xr-xtsp/jobs/publish.sh6
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