mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 08:16:49 +00:00
[android] Fix testing adb call
Looks like some debug leftover which force another retry.
This commit is contained in:
parent
e0589d70fb
commit
df2940aa85
@ -22,8 +22,6 @@ def adb(args, attempts = 1, timeout_sec = 600):
|
||||
while attempts > 0 and ret != 0:
|
||||
attempts -= 1
|
||||
ret = subprocess.call(['timeout', str(timeout_sec), ADB] + args, stdout=out, stderr=subprocess.STDOUT)
|
||||
if attempts != 0:
|
||||
ret = 5
|
||||
if ret != 0:
|
||||
print "adb command failed", args
|
||||
print tmpname
|
||||
|
Loading…
x
Reference in New Issue
Block a user