summaryrefslogtreecommitdiff
path: root/test/test-udev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-03-21 12:54:10 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-03-23 10:17:52 +1000
commitce80e40006de0c61a864d8b6ae4e655e44bfd866 (patch)
treeb34bcffc886412c2d15f83bc7ca72a4b010cd945 /test/test-udev.c
parent3f5ff113a8c9469b084941b3b3157d7da95600d1 (diff)
downloadlibinput-ce80e40006de0c61a864d8b6ae4e655e44bfd866.tar.gz
test: move all the _setup() functions into a special section
This way we can loop through them instead of having to add them manually. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/test-udev.c')
-rw-r--r--test/test-udev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-udev.c b/test/test-udev.c
index b3922824..6a6e6763 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -646,8 +646,7 @@ START_TEST(udev_ignore_device)
}
END_TEST
-void
-litest_setup_tests_udev(void)
+TEST_COLLECTION(udev)
{
litest_add_no_device("udev:create", udev_create_NULL);
litest_add_no_device("udev:create", udev_create_seat0);