mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 13:58:58 -04:00
Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug mode
Not all tests currently pass with debug mode on.
This commit is contained in:
parent
3339800854
commit
2fad0f3d52
@ -438,6 +438,9 @@ main(int argc, const char **argv)
|
||||
evthread_enable_lock_debugging();
|
||||
#endif
|
||||
|
||||
if (getenv("EVENT_DEBUG_MODE"))
|
||||
event_enable_debug_mode();
|
||||
|
||||
tinytest_set_aliases(testaliases);
|
||||
|
||||
if (tinytest_main(argc,argv,testgroups))
|
||||
|
Loading…
x
Reference in New Issue
Block a user