projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd927ab
)
context test: Use test_get_context()
author
Daniel Stone
<daniel@fooishbar.org>
Wed, 25 Jul 2012 08:55:06 +0000
(10:55 +0200)
committer
Daniel Stone
<daniel@fooishbar.org>
Fri, 27 Jul 2012 09:59:55 +0000
(11:59 +0200)
So we don't die if we haven't got a valid global include path.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
test/context.c
patch
|
blob
|
history
diff --git
a/test/context.c
b/test/context.c
index
016c5ea
..
f3ca783
100644
(file)
--- a/
test/context.c
+++ b/
test/context.c
@@
-26,11
+26,12
@@
#include <assert.h>
#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);