summaryrefslogtreecommitdiff
path: root/test/test-context.c
Commit message (Collapse)AuthorAgeFilesLines
* test: silence warnings about missing field initializersPeter Hutterer2020-02-141-1/+5
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* config.h is a local include pathPeter Hutterer2020-02-141-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: split the tests into one test case eachPeter Hutterer2020-02-111-10/+7
| | | | | | | | | For debugging it's more important to be able to quickly run a single test rather than grouping them together, we don't have thousands of tests here anyway. So let's add a macro to put every test func into its own TCase, allowing for test selection via the environment variable CK_RUN_CASE. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Initialize the slots correctly when enabling ABS_MT_SLOTPeter Hutterer2019-06-181-0/+177
Previously, enabling or disabling ABS_MT_SLOT would not change the actual slots, it was treated as a normal bitflag. This means we couldn't initialize a libevdev context from scratch and have it behave like a correct MT context. Fixes #4 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>