From 17a25f655dfb59b1dabdeda4923ea92c4e267f13 Mon Sep 17 00:00:00 2001 From: Jonathan Pryor Date: Wed, 24 May 2017 11:08:33 -0400 Subject: [PATCH] [tests] Ensure emulator is killed A "funny thing" happened in [PR Build #958][0]: `adb` failed: Target ReleaseAndroidTarget: Task "Adb" ... Tool /Users/builder/android-toolchain/sdk/platform-tools/adb execution started with arguments: -s emulator-5570 logcat -d ... Task "Adb" execution -- FAILED I have no idea why `adb` is failing, but *because* it failed, the emulator was never shutdown and killed. Add `ContinueOnError="True"` to most of the tasks within the `ReleaseAndroidTarget` target to ensure that the emulator is shutdown and killed. [0]: https://jenkins.mono-project.com/job/xamarin-android-pr-builder/958/ --- build-tools/scripts/UnitTestApks.targets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-tools/scripts/UnitTestApks.targets b/build-tools/scripts/UnitTestApks.targets index ebc7c4cc5fe..f8f6de4d9c7 100644 --- a/build-tools/scripts/UnitTestApks.targets +++ b/build-tools/scripts/UnitTestApks.targets @@ -60,22 +60,26 @@