diff options
author | Siva Chandra <sivachandra@google.com> | 2015-05-29 00:14:16 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-05-29 00:14:16 +0000 |
commit | de4c598ccf35f8f58b736e72c50916e2b26faec1 (patch) | |
tree | 9adddff5556138348632394c26976c7baee7144c /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | 0ea9d1e7531e2ba74691c5e0836b224c95c0ac95 (diff) | |
download | bcm5719-llvm-de4c598ccf35f8f58b736e72c50916e2b26faec1.tar.gz bcm5719-llvm-de4c598ccf35f8f58b736e72c50916e2b26faec1.zip |
[TestLldbGdbServer and TestGdbRemoteXXX] Use "ls -l" instead of "readlink"
Summary:
Old Android devices, for example API 16, do not have the "readlink"
command. To take care of such devices, this commit changes to use "ls -l"
instead of "readlink" to get the lldb-server exe path.
The tests fixed with this change for an Android API 16 arm device are:
TestGdbRemoteAttach
TestGdbRemoteAuxvSupport
TestGdbRemoteExpeditedRegisters
TestGdbRemoteKill
TestGdbRemoteProcessInfo
TestGdbRemoteSegFault
TestGdbRemoteThreadsInStopReply
TestGdbRemote_qThreadStopInfo
Further, all tests in TestLldbGdbServer pass (previously erroring out),
except one which times out.
Test Plan:
Run dosep.py with 8 test threads targetting Android API 16
device.
Reviewers: vharron, ovyalov
Reviewed By: ovyalov
Subscribers: tberghammer, aemerson, lldb-commits
Differential Revision: http://reviews.llvm.org/D10107
llvm-svn: 238532
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
0 files changed, 0 insertions, 0 deletions