androidScreenshotTest: Use full path to emulator

In some systems (like mine) emulator will fail if not called by full path

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey Vilas 2021-09-03 12:35:38 +02:00
parent 6ab58b7b1a
commit 4121cd9e50
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

@ -59,7 +59,7 @@ while read line ; do
done < <(adb devices | cut -f1) done < <(adb devices | cut -f1)
if [ "$emulatorIsRunning" == false ] ; then if [ "$emulatorIsRunning" == false ] ; then
emulator -writable-system -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-audio -skin 500x833 & "$(command -v emulator)" -writable-system -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-audio -skin 500x833 &
fi fi
if [ -e $5 ] ; then if [ -e $5 ] ; then