From: Daniel Stone Date: Wed, 25 Jul 2012 08:55:06 +0000 (+0200) Subject: context test: Use test_get_context() X-Git-Tag: xkbcommon-0.2.0~351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca7927ae60ad70ebd5bef5cc3644ddcbeaa6dd06;p=platform%2Fupstream%2Flibxkbcommon.git context test: Use test_get_context() So we don't die if we haven't got a valid global include path. Signed-off-by: Daniel Stone --- diff --git a/test/context.c b/test/context.c index 016c5ea..f3ca783 100644 --- a/test/context.c +++ b/test/context.c @@ -26,11 +26,12 @@ #include #include "xkbcommon/xkbcommon.h" +#include "test.h" int main(void) { - struct xkb_context *context = xkb_context_new(0); + struct xkb_context *context = test_get_context(); assert(context);