Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df5ae06d authored by Christopher Ferris's avatar Christopher Ferris
Browse files

Small clean-up of debuggerd test.

For the debuggerd_test.cpp tests, don't include any libdebuggerd
internal headers.

Test: Compiles and unit tests pass.
Change-Id: I6335dc9e09992f5725a24fc45a8356efab7158e6
parent 3e464e6e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
#include <dlfcn.h>
#include <err.h>
#include <fcntl.h>
#include <inttypes.h>
#include <linux/prctl.h>
#include <malloc.h>
#include <pthread.h>
@@ -69,7 +70,6 @@
#include "crash_test.h"
#include "debuggerd/handler.h"
#include "gtest/gtest.h"
#include "libdebuggerd/utility.h"
#include "protocol.h"
#include "tombstoned/tombstoned.h"
#include "util.h"
@@ -86,6 +86,7 @@ using ::testing::HasSubstr;
#define ARCH_SUFFIX ""
#endif

constexpr size_t kTagGranuleSize = 16;
constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger";

#define TIMEOUT(seconds, expr)                                     \