test-time: enable debug mode if EVENT_DEBUG_LOGGING_ALL env set

(cherry picked from commit a11edbfa369f7a99886359b3f4baa69686dc275f)
This commit is contained in:
Azat Khuzhin 2020-03-01 14:54:36 +03:00
parent 30662a3ca9
commit 29e2c7f2b7

View File

@ -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();