From df2940aa85f0265c5f718cb23546404246667b99 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 18 Feb 2021 17:22:32 -0800 Subject: [PATCH] [android] Fix testing adb call Looks like some debug leftover which force another retry. --- compiler-rt/test/sanitizer_common/android_commands/android_common.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler-rt/test/sanitizer_common/android_commands/android_common.py b/compiler-rt/test/sanitizer_common/android_commands/android_common.py index 8a1d8ca..eb15c34 100644 --- a/compiler-rt/test/sanitizer_common/android_commands/android_common.py +++ b/compiler-rt/test/sanitizer_common/android_commands/android_common.py @@ -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 -- 2.7.4