| 65 | }; |
| 66 | |
| 67 | TEST_F(DebugUtilTest, TestStackTrace) { |
| 68 | StackTrace t; |
| 69 | t.Collect(0); |
| 70 | string trace = t.Symbolize(); |
| 71 | ASSERT_STR_CONTAINS(trace, "kudu::DebugUtilTest_TestStackTrace_Test::TestBody"); |
| 72 | } |
| 73 | |
| 74 | // DumpThreadStack is only supported on Linux, since the implementation relies |
| 75 | // on the tgkill syscall which is not portable. |
nothing calls this directly
no test coverage detected