llvm-project/lldb/test/tools/lldb-server
Siva Chandra de4c598ccf [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
2015-05-29 00:14:16 +00:00
..
commandline Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer 2015-05-21 18:54:12 +00:00
inferior-crash Bug 23051 - Fix zombie processes after lldb-server tests 2015-04-15 13:35:49 +00:00
test Add lldb-mi/lldb-server test folders to PATH before in dotest.py 2015-03-12 07:32:32 +00:00
Makefile Don't clobber CFLAGS_EXTRAS in tests. 2015-03-24 12:41:20 +00:00
TestGdbRemoteAttach.py XPASS a bunch of GdbRemote/LldbGdbServer tests 2015-05-21 18:55:39 +00:00
TestGdbRemoteAuxvSupport.py XPASS a bunch of GdbRemote/LldbGdbServer tests 2015-05-21 18:55:39 +00:00
TestGdbRemoteExpeditedRegisters.py Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer 2015-05-21 18:54:12 +00:00
TestGdbRemoteKill.py Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer 2015-05-21 18:54:12 +00:00
TestGdbRemoteProcessInfo.py Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer 2015-05-21 18:54:12 +00:00
TestGdbRemoteRegisterState.py XPASS a bunch of GdbRemote/LldbGdbServer tests 2015-05-21 18:55:39 +00:00
TestGdbRemoteSingleStep.py Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer 2015-05-21 18:54:12 +00:00
TestGdbRemoteThreadsInStopReply.py Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer 2015-05-21 18:54:12 +00:00
TestGdbRemote_qThreadStopInfo.py XPASS a bunch of GdbRemote/LldbGdbServer tests 2015-05-21 18:55:39 +00:00
TestGdbRemote_vCont.py XPASS a bunch of GdbRemote/LldbGdbServer tests 2015-05-21 18:55:39 +00:00
TestLldbGdbServer.py Fix breakpoint setting in gdb remote test cases on arm 2015-05-28 10:55:01 +00:00
gdbremote_testcase.py [TestLldbGdbServer and TestGdbRemoteXXX] Use "ls -l" instead of "readlink" 2015-05-29 00:14:16 +00:00
lldbgdbserverutils.py Fixes errors in remote tests 2015-05-18 19:44:19 +00:00
main.cpp [TestLldbGdbServer] Up sleep duration to 1min in the inferior thread_func. 2015-05-22 00:52:41 +00:00
socket_packet_pump.py Fix ninja check-lldb 2015-03-20 11:24:36 +00:00