debug
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 5 May 2023 13:23:15 +0000 (15:23 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 5 May 2023 13:23:15 +0000 (15:23 +0200)
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Icc2938efb7568ff65630a316a624b3372409d4d6

common/scripts/agl-screenshot-test.sh

index 7cbc23c..ca84b1c 100755 (executable)
@@ -115,12 +115,15 @@ if [ "${REF_IMAGE_SHA1SUM}" == "${IMAGE_SHA1SUM}" ]; then
        echo "Screenshot matches the reference image"
        FINALRET=0
 else
+set -x
        echo "Screenshot does not match the reference image"
        FINALRET=127
        for i in /home/agl-driver/agl-screenshot-*.png ; do
                if [ -x ./artiproxy-upload.sh ];then
                        ./artiproxy-upload.sh $i $(basename $i)
                fi
+set +x
+
        done
        echo "#########################"
        journalctl -t agl-compositor