summaryrefslogtreecommitdiff
path: root/test/litest-device-wacom-isdv4-e6-finger.c
Commit message (Collapse)AuthorAgeFilesLines
* test: switch to a TEST_DEVICE macro for all the litest test devicesPeter Hutterer2017-09-211-11/+2
| | | | | | | | | | | | | | | | The test device initialization code was a bit of duplicated boilerplate and required adding a reference to the devices to the 'devices' list in litest.c. Automate this with a new TEST_DEVICE macro that adds the devices to a custom section in the binary, then loops throught that section to get the device out. This reduces the boilerplate for each test device to just the TEST_MACRO and the LITEST_foo device enum entry. It also now automates the shortname of the device. The device's shortname was standardised in this approach as well, lowercase and dashes only. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: rename wacom test devices to a consistent naming schemePeter Hutterer2017-01-161-0/+97
Use the model names in the file name and append pad/pen/finger as appropriate Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>