test: untangle interactive-evdev from the test headers
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 23 Jun 2020 04:01:48 +0000 (14:01 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 25 Jun 2020 00:32:08 +0000 (10:32 +1000)
commitc09bf36306e45ea699e3a494e829bf684fd60e02
tree1b4318baba9095a7d9d6ea8e7502834ec9a59316
parent2eb5d2c81db908ff691b0ac58f2361dce6f7c005
test: untangle interactive-evdev from the test headers

Move (sometimes duplicate) the required bits into new shared files
tools-common.(c|h) that are compiled into the internal tools library. Rename the
test_foo() functions to tools_foo() and in one case just copy the code of the
keymap compile function to the tool.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build
test/common.c
test/interactive-evdev.c
test/test.h
tools/tools-common.c
tools/tools-common.h