From a1075070a4a2b9cfafdd9186ecf4bb476267ef7d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 22 May 2015 14:55:24 +1000 Subject: [PATCH] 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 --- test/litest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/litest.c b/test/litest.c index e1db754a..1ff535d2 100644 --- a/test/litest.c +++ b/test/litest.c @@ -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;