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:
6060abc
)
test: skip double-initialization of all_tests lists
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 6 Jul 2017 23:34:16 +0000
(09:34 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 6 Jul 2017 23:58:45 +0000
(09:58 +1000)
Already done in main(), this here is a leftover from having multiple mains fro
different tests.
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 9e874050bbe7d794582dd3ab1ec88015a21204c3..abd72188c9ce1fac7a11c846e7fca6cf744f0d30 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-567,9
+567,6
@@
get_suite(const char *name)
{
struct suite *s;
- if (all_tests.next == NULL && all_tests.prev == NULL)
- list_init(&all_tests);
-
list_for_each(s, &all_tests, node) {
if (streq(s->name, name))
return s;