Merge pull request #80 from azat/tests-add-event-debug-logging-all

regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
This commit is contained in:
Nick Mathewson 2013-10-02 08:45:54 -07:00
commit 9721137775

View File

@ -446,6 +446,9 @@ main(int argc, const char **argv)
event_enable_debug_mode();
libevent_tests_running_in_debug_mode = 1;
}
if (getenv("EVENT_DEBUG_LOGGING_ALL")) {
event_enable_debug_logging(EVENT_DBG_ALL);
}
tinytest_set_aliases(testaliases);