From a11edbfa369f7a99886359b3f4baa69686dc275f Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 1 Mar 2020 14:54:36 +0300 Subject: [PATCH] test-time: enable debug mode if EVENT_DEBUG_LOGGING_ALL env set --- test/test-time.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-time.c b/test/test-time.c index c90f0f11..8d4bf7a4 100644 --- a/test/test-time.c +++ b/test/test-time.c @@ -94,6 +94,10 @@ main(int argc, char **argv) evutil_weakrand_seed_(&weakrand_state, 0); + if (getenv("EVENT_DEBUG_LOGGING_ALL")) { + event_enable_debug_logging(EVENT_DBG_ALL); + } + /* Initialize the event library */ event_init(); -- 2.40.0