test: Use test_get_context() in log.c
authorDaniel Stone <daniel@fooishbar.org>
Mon, 18 Mar 2013 21:03:00 +0000 (21:03 +0000)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 19 Mar 2013 10:34:28 +0000 (10:34 +0000)
Since the only behavioural change is overriding default includes.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
test/log.c

index 08de3d8..96e2566 100644 (file)
@@ -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);