projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6be439
)
test: add missing filter for function names
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 22 May 2015 04:55:24 +0000
(14:55 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 22 May 2015 07:18:03 +0000
(17:18 +1000)
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>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index e1db754ada8de2cc820d0e92f1e373f6d5395e34..1ff535d247a3fd62872c2eac14e951ea388fef2b 100644
(file)
--- 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;