agl-screenshot-test.sh: Save the contents of the screenshooter 24/27524/1 13.93.0 needlefish/13.93.0 needlefish_13.93.0
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 24 May 2022 13:18:39 +0000 (16:18 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 24 May 2022 13:31:20 +0000 (16:31 +0300)
We're getting a checksum error when comparing the reference image
against the one done at boot, so let's have to store it, for later
retrieval and investigation.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7a532d78fc840064d74c6f385ddbf2537390b1ad

common/scripts/agl-screenshot-test.sh

index 5f83970..cf56566 100755 (executable)
@@ -119,14 +119,12 @@ else
        echo "Screenshot does not match the reference image"
        FINALRET=127
        for i in agl-screenshot-*.png ; do
-               #set +x
-               echo "################################################################"
-               ( curl --upload-file "$i" https://transfer.sh/$(basename "$i") && echo "" ) || true
-               echo "################################################################"
-               #set -x
+               if [ -x ./artiproxy-upload.sh ];then
+                       ./artiproxy-upload.sh $i dumpjournal
+               fi
        done
        echo "#########################"
-       cat /run/platform/display/*.log
+       journalctl -t agl-compositor
        echo "#########################"
        journalctl -b --no-pager -a
        echo "#########################"