test: just use litest_add_device if we don't have overrides

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-07-06 12:34:50 +10:00
parent 3b0956aae3
commit 00ceff3245

View file

@ -2078,12 +2078,7 @@ START_TEST(tools_with_serials)
int i;
for (i = 0; i < 2; i++) {
dev[i] = litest_add_device_with_overrides(li,
LITEST_WACOM_INTUOS,
NULL,
NULL,
NULL,
NULL);
dev[i] = litest_add_device(li, LITEST_WACOM_INTUOS);
litest_drain_events(li);
/* WARNING: this test fails if UI_GET_SYSNAME isn't