test/x11-keyseq: new test
authorRan Benita <ran234@gmail.com>
Sat, 9 Aug 2014 19:14:34 +0000 (22:14 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 9 Aug 2014 19:57:24 +0000 (22:57 +0300)
commit4df720b464f7623710eed0f3d968e3dc175671da
treeeab597146e43fbfc1aa124b44ee44793c0bb0155
parent56de0115e6c381432b84969569accae249687d2a
test/x11-keyseq: new test

It is like test/stringcomp, only instead of using
xkb_keymap_new_from_string(), it uses xkbcomp to upload the keymap to a
dummy Xvfb X server and then xkb_x11_keymap_new_from_device().

If any of these components are not present or fails, the test is shown
as skipped.

The test is messy, fragile, limited and depends on external tools, but I
will improve on that later -- it's better to have a test.

Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am
test/.gitignore
test/data/keymaps/host.xkb [new file with mode: 0644]
test/x11comp.c [new file with mode: 0644]