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:
a915cbd
)
test: when restoring the log handler to defaults, also restore log priority
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 16 Aug 2017 23:28:52 +0000
(
01:28
+0200)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 16 Aug 2017 23:29:32 +0000
(
01:29
+0200)
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 c33ba7598775f57a3d41b04e83899d40dbeb70e7..196fb1fa273bcc418d20f30e14fd4c1ea4ea1a20 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-1351,6
+1351,8
@@
void
litest_restore_log_handler(struct libinput *libinput)
{
libinput_log_set_handler(libinput, litest_log_handler);
+ if (verbose)
+ libinput_log_set_priority(libinput, LIBINPUT_LOG_PRIORITY_DEBUG);
}
LIBINPUT_ATTRIBUTE_PRINTF(3, 0)