test: add a tool to test-compile all LVO combinations from xkeyboard-config
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 14 Aug 2018 01:16:30 +0000 (11:16 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 21 Aug 2018 01:30:45 +0000 (11:30 +1000)
commitd1cb8ad409e0da86f1656a070b6b64bf4ad77487
tree26366aa8e99c2ced2a10f3342261e9d55f2e4e2a
parentf8134c8503c9868d65ee6e06b211ec2eaff3f60d
test: add a tool to test-compile all LVO combinations from xkeyboard-config

This test contains of two parts:
- a simple program to convert RMLVO commandline arguments into a keymap (and
  print that keymap if requested).
- a python script that runs through rules/evdev.xml, and tries to compile a
  keymap for sort-of every layout/variant/option combination. Sort-of, because
  we can have multiple options and it really only does one per layout(variant)
  combination.

Same thing can be done using xkbcomp, but right now it doesn't take that as
argument, it's hard-coded.

This takes quite a while, installing python-tqdm is recommended to see fancy
progress bars instead of just miles of dumps.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Makefile.am
meson.build
test/.gitignore
test/rmlvo-to-keymap.c [new file with mode: 0644]
test/xkeyboard-config-test.py.in [new file with mode: 0755]