Skip to content

Commit 87e6433

Browse files
radekdoulikjonpryor
authored andcommitted
[tests] Set ToolPath and ToolExe for RunUITests (#845)
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.
1 parent a6e8555 commit 87e6433

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build-tools/scripts/TestApks.targets

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@
151151
Condition=" '%(TestApk.Activity)' != '' "
152152
AdbTarget="$(_AdbTarget)"
153153
AdbOptions="$(AdbOptions)"
154-
Activity="%(TestApk.Activity)">
154+
Activity="%(TestApk.Activity)"
155+
ToolExe="$(AdbToolExe)"
156+
ToolPath="$(AdbToolPath)">
155157
</RunUITests>
156158
<PropertyGroup>
157159
<_LogcatFilename>logcat-$(Configuration)$(_AotName).txt</_LogcatFilename>

0 commit comments

Comments
 (0)