aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-24 16:18:39 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-24 16:31:20 +0300
commit63c6ce24ac2954b9dba2c2c95f7bd3ee1e872fcf (patch)
tree51906edb40a2d4054d1fe58b6353c2a845df47ed /common/scripts
parent1f10e18090ee46e1ce2fc886669f96cd66c59f98 (diff)
agl-screenshot-test.sh: Save the contents of the screenshooterneedlefish_13.93.0needlefish/13.93.013.93.0
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
Diffstat (limited to 'common/scripts')
-rwxr-xr-xcommon/scripts/agl-screenshot-test.sh10
1 files 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 "#########################"