From 63c6ce24ac2954b9dba2c2c95f7bd3ee1e872fcf Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 24 May 2022 16:18:39 +0300 Subject: 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 --- common/scripts/agl-screenshot-test.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 "#########################" -- cgit 1.2.3-korg