From d1e2cca8b53eaff33b849a48913a0dedbbbe43a8 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 12 Sep 2017 09:38:04 +0200 Subject: [PATCH] [tests] set ToolPath and ToolExe for RunUITests The RunUITests task call didn't have the tool path and exe set. So it worked OK locally, where I have the adb tool in PATH and didn't work on Jenkins. With this fix it should work on Jenkins and other setups. --- build-tools/scripts/TestApks.targets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-tools/scripts/TestApks.targets b/build-tools/scripts/TestApks.targets index a5ecf7d2d04..27fea03729b 100644 --- a/build-tools/scripts/TestApks.targets +++ b/build-tools/scripts/TestApks.targets @@ -151,7 +151,9 @@ Condition=" '%(TestApk.Activity)' != '' " AdbTarget="$(_AdbTarget)" AdbOptions="$(AdbOptions)" - Activity="%(TestApk.Activity)"> + Activity="%(TestApk.Activity)" + ToolExe="$(AdbToolExe)" + ToolPath="$(AdbToolPath)"> <_LogcatFilename>logcat-$(Configuration)$(_AotName).txt