From 4121cd9e507826d4c3f38cff716ae7458183292f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey=20Vilas?= Date: Fri, 3 Sep 2021 12:35:38 +0200 Subject: [PATCH] androidScreenshotTest: Use full path to emulator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some systems (like mine) emulator will fail if not called by full path Signed-off-by: Álvaro Brey Vilas --- scripts/androidScreenshotTest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/androidScreenshotTest b/scripts/androidScreenshotTest index f664ff1a28..5094740879 100755 --- a/scripts/androidScreenshotTest +++ b/scripts/androidScreenshotTest @@ -59,7 +59,7 @@ while read line ; do done < <(adb devices | cut -f1) 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 if [ -e $5 ] ; then