summaryrefslogtreecommitdiffstats
path: root/common/scripts/agl-screenshot-test.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-05-24agl-screenshot-test.sh: Save the contents of the screenshooterneedlefish_13.93.0needlefish/13.93.013.93.0Marius Vlad1-6/+4
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
2022-05-24agl-screenshot-test.sh: Redo the compositor restartMarius Vlad1-3/+7
Stopping services and the client shell before restarting the compositor, would avoid some large delays until the new compositor instance is brought up. With this approach, were we stop explicitly the client shell and the launcher, we're basically have a hard stop, and should avoid those huge delays for qemu-arm. Until we can confirm this is the case, we still maintain that delay. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ifa067ac40de162291d7d6cfb70035e87add07220
2022-02-15Fix screenshot test and user sessionmarlin_12.93.0marlin/12.93.012.93.0Jan-Simon Moeller1-1/+2
The user session has its own daemon that needs to be reloaded separately. Thus execute a separate reload call. Bug-AGL: SPEC-4165 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ie58423dfb29002660eea69462623d3f37614079f
2021-12-21Adapt screenshot test to new frameworkmarlin_12.92.0marlin_12.91.0marlin/12.92.0marlin/12.91.012.92.012.91.0Jan-Simon Moeller1-7/+24
Update the restart command and adapt to the user session. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I92ee001ded6d49e83078ce13e31e29cebe69d967
2021-12-06Extend delay before taking screenshotJan-Simon Möller1-1/+1
On slow emulated targets, we do need more time to spin up. Extend the timeout. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I90231ad23846e77191626ccaebd657b53ee4b897
2021-12-03screenshot-test: Extend startup delay and use no pagerJan-Simon Moeller1-2/+2
We need more time on e.g. qemuarm to finish processing and also have no pager enabled. Bug-AGL: SPEC-4165 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1f1d4adcc2b9b702b09e33005559d2d061f7472f
2021-11-24Update agl-screenshot-test for masterJan-Simon Möller1-26/+35
The latest changes on the master branch require an update to the screenshot test. The script has been changed to use the journal and use the new settings file locations. Bug-AGL: SPEC-4150 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: If321c62940bb1809e38585c7dcdb08b273af8221
2021-09-15Wait for screenshot until display is upJan-Simon Möller1-0/+3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie74175ab892f12a4eca439350bdd043bb282f931
2021-09-15Extend the waiting time for emulated platformslamprey_12.1.9lamprey_12.1.8lamprey_12.1.7lamprey_12.1.6lamprey_12.1.5lamprey_12.1.4lamprey_12.1.3lamprey_12.1.20lamprey_12.1.2lamprey_12.1.19lamprey_12.1.18lamprey_12.1.17lamprey_12.1.16lamprey_12.1.15lamprey_12.1.14lamprey_12.1.13lamprey_12.1.12lamprey_12.1.11lamprey_12.1.10lamprey_12.1.1lamprey_12.1.0lamprey/12.1.9lamprey/12.1.8lamprey/12.1.7lamprey/12.1.6lamprey/12.1.5lamprey/12.1.4lamprey/12.1.3lamprey/12.1.20lamprey/12.1.2lamprey/12.1.19lamprey/12.1.18lamprey/12.1.17lamprey/12.1.16lamprey/12.1.15lamprey/12.1.14lamprey/12.1.13lamprey/12.1.12lamprey/12.1.11lamprey/12.1.10lamprey/12.1.1lamprey/12.1.012.1.912.1.812.1.712.1.612.1.512.1.412.1.312.1.2012.1.212.1.1912.1.1812.1.1712.1.1612.1.1512.1.1412.1.1312.1.1212.1.1112.1.1012.1.112.1.0lampreyJan-Simon Möller1-2/+10
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I3d8cf2dd5227edabf8dc39eb50f5fa0560a5d221
2021-05-10Extend wait time for compositor restartJan-Simon Möller1-0/+6
This fixes slow (e.g. mesa) startup. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I10ef1e14ca97370c59984b5d848b90e6cbb9d40b
2021-01-20SPEC-3764: add screenshoot testCorentin LABBE1-0/+100
Add basic screenshooter test. Change-Id: I8be9c6b4f621dc757c7e8ab846384c0fb32561df Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>