summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* tools: move the remaining tools from test to herePeter Hutterer2020-06-253-0/+1627
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: untangle interactive-evdev from the test headersPeter Hutterer2020-06-252-58/+126
| | | | | | | | | 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>
* test: simplify error handling in interactive-evdevPeter Hutterer2020-06-252-0/+188
| | | | | | | | | Passing -errno around and having separate labels depending on failure types is superfluous here. All the unref calls can handle NULL and nothing cares about errno once we're out of the immediate scope. So let's simplify this and deal with 0 and 1 only. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Move the various tools to a tools/ directoryPeter Hutterer2020-06-254-0/+538
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>