Signed-off-by: Daniel Stone <daniel@fooishbar.org>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/syslog.h>
#include "xkbcommon/xkbcommon.h"
#include "test.h"
xkb_context_include_path_append(ctx, test_get_path(""));
+ xkb_set_log_priority(ctx, LOG_DEBUG);
+ xkb_set_log_verbosity(ctx, 101);
+
return ctx;
}
ret = setenv("XKB_LOG", "warn", 1);
ret = setenv("XKB_VERBOSITY", "5", 1);
assert(ret == 0);
- ctx = test_get_context();
+ ctx = xkb_context_new(0);
assert(ctx);
darray_init(log_string);