x11: add a couple of tests
authorRan Benita <ran234@gmail.com>
Tue, 30 Jul 2013 12:06:40 +0000 (15:06 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 2 Feb 2014 09:16:40 +0000 (11:16 +0200)
commit2f93c78894ba180cc5ba602bf1b03961173db7b8
tree1cc2c1752e90b2bc184b86f29ed3b9dabad3bd13
parenteb34825560edf570d883d3e52a8fe657c17b3d9c
x11: add a couple of tests

Add two tests:

    ./test/interactive-x11
which is like test/interactive-evdev, but should behave exactly like your
X keyboard and react to state and keymap changes - in other words, just
like typing in xterm. Press ESC to exit.

    ./test/x11
which currently should only print out the same keymap as
    xkbcomp $DISPLAY out.xkb
(modulo some whitespace and some constructs we do not support.)

Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am
test/.gitignore
test/interactive-x11.c [new file with mode: 0644]
test/test.h
test/x11.c [new file with mode: 0644]