test: disable stdout output buffering for our tests
Hook this into test_create_context() so all the test immediately use it.master
parent
5270a55324
commit
e7570bcb78
|
@ -298,6 +298,8 @@ test_get_context(enum test_context_flags test_flags)
|
||||||
struct xkb_context *ctx;
|
struct xkb_context *ctx;
|
||||||
char *path;
|
char *path;
|
||||||
|
|
||||||
|
setbuf(stdout, NULL);
|
||||||
|
|
||||||
ctx_flags = XKB_CONTEXT_NO_DEFAULT_INCLUDES;
|
ctx_flags = XKB_CONTEXT_NO_DEFAULT_INCLUDES;
|
||||||
if (test_flags & CONTEXT_ALLOW_ENVIRONMENT_NAMES) {
|
if (test_flags & CONTEXT_ALLOW_ENVIRONMENT_NAMES) {
|
||||||
unsetenv("XKB_DEFAULT_RULES");
|
unsetenv("XKB_DEFAULT_RULES");
|
||||||
|
|
Loading…
Reference in New Issue