mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
regress: add EVENT_NO_FILE_BUFFERING, to disable buffering for stdout/stderr
Useful for win32 (cherry picked from commit b2d4fb4176c645b45b8514e4a5a942228ea4e6a9)
This commit is contained in:
parent
ca69a10f4c
commit
91bb15e63e
@ -455,6 +455,11 @@ main(int argc, const char **argv)
|
||||
|
||||
evutil_weakrand_seed_(&test_weakrand_state, 0);
|
||||
|
||||
if (getenv("EVENT_NO_FILE_BUFFERING")) {
|
||||
setbuf(stdout, NULL);
|
||||
setbuf(stderr, NULL);
|
||||
}
|
||||
|
||||
if (tinytest_main(argc,argv,testgroups))
|
||||
return 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user