test: untangle print-compiled-keymap from the test headers
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 22 Jun 2020 03:04:43 +0000 (13:04 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 25 Jun 2020 00:32:08 +0000 (10:32 +1000)
commite5d4056e2fbca78816b78c23545a05b94c7f35bc
tree7c54e92582f6e7d3db2e5c8f64e32754012e59f3
parent7d1aefddada5cceeb5a6a5d93093740d1bff985a
test: untangle print-compiled-keymap from the test headers

Commit 16c84cdd819db516fff089c76b99248fb7dd4e8c removed the getopt handling for
RMLVO arguments, so now this tool only takes a keymap file and compiles it.

Using test helpers to init the context gives it fairly specific behavior; unless
the user sets the right environment variables and/or calls it from the right
PWD, it may or may not include the test data.

Let's drop this behavior, make it a default tool to compile a keymap. If there
is a specific need to modify the include paths, we can add this later.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/print-compiled-keymap.c