[asan] This Android lit workaround should not be needed as bug is fixed

llvm-svn: 306942
This commit is contained in:
Vitaly Buka 2017-07-01 04:23:47 +00:00
parent 602afcf7e9
commit 080118351b
1 changed files with 1 additions and 4 deletions

View File

@ -37,8 +37,5 @@ def pull_from_device(path):
return text
def push_to_device(path):
# Workaround for https://code.google.com/p/android/issues/detail?id=65857
dst_path = os.path.join(ANDROID_TMPDIR, os.path.basename(path))
tmp_path = dst_path + '.push'
adb(['push', path, tmp_path], 5)
adb(['shell', 'cp "%s" "%s" 2>&1' % (tmp_path, dst_path)], 5)
adb(['push', path, dst_path], 5)