test: rename the x220 clickpad to something more telling
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 6 Aug 2018 23:56:54 +0000 (09:56 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 7 Aug 2018 00:00:40 +0000 (10:00 +1000)
Having this as the generic "synaptics" touchpad in the tests is not helpful,
this touchpad is tiny and quite special these days.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build
test/litest-device-synaptics-x220.c [moved from test/litest-device-synaptics.c with 99% similarity]

index 3fc49bd..98e3164 100644 (file)
@@ -730,7 +730,7 @@ if get_option('tests')
                'test/litest-device-ms-surface-cover.c',
                'test/litest-device-protocol-a-touch-screen.c',
                'test/litest-device-qemu-usb-tablet.c',
-               'test/litest-device-synaptics.c',
+               'test/litest-device-synaptics-x220.c',
                'test/litest-device-synaptics-hover.c',
                'test/litest-device-synaptics-i2c.c',
                'test/litest-device-synaptics-rmi4.c',
similarity index 99%
rename from test/litest-device-synaptics.c
rename to test/litest-device-synaptics-x220.c
index 50ddc44..c570297 100644 (file)
@@ -102,7 +102,7 @@ static struct input_absinfo absinfo[] = {
        { .value = -1 }
 };
 
-TEST_DEVICE("synaptics",
+TEST_DEVICE("synaptics-x220",
        .type = LITEST_SYNAPTICS_CLICKPAD_X220,
        .features = LITEST_TOUCHPAD | LITEST_CLICKPAD | LITEST_BUTTON,
        .interface = &interface,