From: Marius Vlad Date: Tue, 24 May 2022 13:18:39 +0000 (+0300) Subject: agl-screenshot-test.sh: Save the contents of the screenshooter X-Git-Tag: 13.93.0^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=63c6ce24ac2954b9dba2c2c95f7bd3ee1e872fcf;p=src%2Fqa-testdefinitions.git agl-screenshot-test.sh: Save the contents of the screenshooter 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 Change-Id: I7a532d78fc840064d74c6f385ddbf2537390b1ad --- diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index 5f83970..cf56566 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -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 "#########################"