18 #ifdef ABSL_INTERNAL_HAVE_DEBUGGING_STACK_CONSUMPTION 22 #include "gtest/gtest.h" 26 namespace debugging_internal {
29 static void SimpleSignalHandler(
int signo) {
31 memset(buf,
'a',
sizeof(buf));
39 TEST(SignalHandlerStackConsumptionTest, MeasuresStackConsumption) {
41 EXPECT_GE(GetSignalHandlerStackConsumption(SimpleSignalHandler), 100);
48 #endif // ABSL_INTERNAL_HAVE_DEBUGGING_STACK_CONSUMPTION
#define ABSL_RAW_LOG(severity,...)
TEST(NotificationTest, SanityTest)