llvm-project/lldb/unittests
Pavel Labath 2fd9a1e0d9 Fix GDBRemoteCommunicationClientTest.TestPacketSpeedJSON
The mock server was listening for only one packet (I forgot to put a loop around
it), which caused the client to stall in debug builds, as the timeout there is
1000 seconds. In case of a release builds the test would just silently succeed as
the tested function does not check or report errors (which should be fixed).

This fixes the test by adding the server loop. Since the test was taking quite a
long time now (8s), I have added a parameter to control the amount of data sent
(default 4MB), and call it with a smaller value in the test, to make the test run
faster.

llvm-svn: 285992
2016-11-04 11:49:06 +00:00
..
Breakpoint Convert many functions to use StringRefs. 2016-09-17 02:00:02 +00:00
Core Fix Timer unit test 2016-11-03 10:07:47 +00:00
Editline *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Expression *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Host Added a couple more odd dot patterns that we got out 2016-11-04 01:47:59 +00:00
Interpreter Refactor the Args class. 2016-10-03 22:51:09 +00:00
Language *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Platform Fix compiler warnings in PlatformDarwinTest.cpp 2016-10-08 04:03:15 +00:00
Process Fix GDBRemoteCommunicationClientTest.TestPacketSpeedJSON 2016-11-04 11:49:06 +00:00
ScriptInterpreter *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Symbol Fix compiler warnings in TestClangASTContext.cpp 2016-10-08 04:03:19 +00:00
SymbolFile Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
UnwindAssembly Fix a bug where the EmulateInstructionARM64 handling of STP/LDP instructions 2016-11-01 01:26:54 +00:00
Utility unittests: Specify types in a bunch of unittest EXPECT's 2016-10-17 18:22:03 +00:00
CMakeLists.txt [cmake] Build gtest from LLVM when building standalone 2016-11-02 22:57:23 +00:00
gtest_common.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00