From 95102d324ba1cdb8c6e440e11fd4764fcd1c25e5 Mon Sep 17 00:00:00 2001
From: Marc Bonnici <marc.bonnici@arm.com>
Date: Wed, 19 Apr 2017 10:24:25 +0100
Subject: [PATCH] Target: Stopped `kick_off` raising an error if command didn't
 timeout

On some devices backgrounding a task results in the command returning
immediately with no error. This was falsely interpreted as the command failing
to run, therefore the additional check has been removed.
---
 devlib/target.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/devlib/target.py b/devlib/target.py
index b6b9d5e..3be4d7f 100644
--- a/devlib/target.py
+++ b/devlib/target.py
@@ -882,8 +882,6 @@ class AndroidTarget(Target):
             output = self.execute(command, timeout=1, as_root=as_root)
         except TimeoutError:
             pass
-        else:
-            raise ValueError('Background command exited before timeout; got "{}"'.format(output))
 
     def __setup_list_directory(self):
         # In at least Linaro Android 16.09 (which was their first Android 7 release) and maybe