Skip to content

Commit

Permalink
Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in d…
Browse files Browse the repository at this point in the history
…ebug mode

Not all tests currently pass with debug mode on.
  • Loading branch information
nmathewson committed Apr 5, 2013
1 parent 3339800 commit 2fad0f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/regress_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2fad0f3

Please sign in to comment.