1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

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.
This commit is contained in:
Marc Bonnici 2017-04-19 10:24:25 +01:00
parent 1061c94951
commit 95102d324b

View File

@ -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