test: replace hardcoded wacom ID with the #define

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-07-10 13:08:38 +10:00
parent 3734a67eef
commit 3b419fb17e

View 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;