test: add missing filter for function names

Was added to other places, missing from here so some tests passed the filter
despite not being selected by it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-05-22 14:55:24 +10:00
parent a6be43990c
commit a1075070a4

View file

@ -640,6 +640,10 @@ _litest_add_ranged_for_device(const char *name,
assert(type < LITEST_NO_DEVICE);
if (filter_test &&
fnmatch(filter_test, funcname, 0) != 0)
return;
if (filter_group &&
fnmatch(filter_group, name, 0) != 0)
return;