From 3c6a17fcbc2a04b444e217445960f87d3f717018 Mon Sep 17 00:00:00 2001 From: Aleksander Mistewicz Date: Mon, 22 May 2017 11:01:09 +0200 Subject: [PATCH] Print output of the failed compare command Change-Id: Idf825cefb526e707c2afc92ddcd2eb1a88fe91dc --- tsp/jobs/publish.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tsp/jobs/publish.sh b/tsp/jobs/publish.sh index 4540aea..a03caef 100755 --- a/tsp/jobs/publish.sh +++ b/tsp/jobs/publish.sh @@ -143,6 +143,7 @@ else SCREENSHOT_DIFF="$(compare "${SCREENSHOT_FILE}" "${SNAPSHOT_SCREENSHOT_FILE}" -metric phash "${SCREENSHOT_DIFF_FILE}" 2>&1)" \ && SCREENSHOT_DIFF="${SCREENSHOT_DIFF%.*}" \ || { + echo "$SCREENSHOT_DIFF" echo "Command failed: compare" SCREENSHOT_DIFF="" } -- 2.7.4