test: Use test_get_context() in log.c Since the only behavioural change is overriding default includes. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
diff --git a/test/log.c b/test/log.c
index 08de3d8..96e2566 100644
--- a/test/log.c
+++ b/test/log.c
@@ -74,7 +74,7 @@ main(void)
assert(ret == 0);
ret = setenv("XKB_LOG_VERBOSITY", "5", 1);
assert(ret == 0);
- ctx = xkb_context_new(0);
+ ctx = test_get_context(0);
assert(ctx);
darray_init(log_string);