Commit d4c22ecc8a272da5d21f2b7991edf200b8873dea

Daniel Stone 2013-03-18T21:03:00

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>

1
2
3
4
5
6
7
8
9
10
11
12
13
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);