llvm-project/lldb/unittests
Pavel Labath 1ebc85f86f llgs-tests: Replace the "log+return false" pattern with llvm::Error
Summary:
These tests used to log the error message and return plain bool mainly
because at the time they we written, we did not have a nice way to
assert on llvm::Error values. That is no longer true, so replace this
pattern with a more idiomatic approach.

As a part of this patch, I also move the formatting of
GDBRemoteCommunication::PacketResult values out of the test code, as
that can be useful elsewhere.

Reviewers: zturner, eugene

Subscribers: mgorny, lldb-commits

Differential Revision: https://reviews.llvm.org/D39790

llvm-svn: 317795
2017-11-09 15:45:09 +00:00
..
Breakpoint Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Core Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
Editline Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Expression Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Host Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Interpreter cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Language Enable parsing C++ names generated by lambda functions. 2017-07-13 19:48:43 +00:00
ObjectFile cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Platform [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Process cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
ScriptInterpreter Added new API to SBStructuredData class 2017-05-29 08:25:46 +00:00
Signals Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
Symbol Add a unit test for ClangASTContext template arguments handling 2017-11-09 15:06:31 +00:00
SymbolFile cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Target cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
TestingSupport cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
UnwindAssembly Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Utility cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
debugserver [CMake] Need to set WITH_LOCKDOWN on debugserver target 2017-09-06 20:15:43 +00:00
tools llgs-tests: Replace the "log+return false" pattern with llvm::Error 2017-11-09 15:45:09 +00:00
CMakeLists.txt Fix LLVM_LINK_LLVM_DYLIB build (pr35053) 2017-10-31 13:23:19 +00:00
gtest_common.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00