test: replace hardcoded wacom ID with the #define
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 10 Jul 2015 03:08:38 +0000 (13:08 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 12 Jul 2015 23:11:08 +0000 (09:11 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/device.c

index 3f61f08..24d5959 100644 (file)
@@ -89,7 +89,7 @@ START_TEST(device_sendevents_config_touchpad_superset)
        uint32_t modes;
 
        /* The wacom devices in the test suite are external */
-       if (libevdev_get_id_vendor(dev->evdev) == 0x56a) /* wacom */
+       if (libevdev_get_id_vendor(dev->evdev) == VENDOR_ID_WACOM)
                return;
 
        device = dev->libinput_device;