mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 10:20:39 +01:00
test: log litest_checkpoint to stderr
Otherwise the logs are detached from libinput's logs (which are printed to stderr) which makes the checkpoint function mostly useless since it doesn't actually group the messages as expected. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1116>
This commit is contained in:
parent
9ac040f72a
commit
5e5799a319
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ _litest_checkpoint(const char *func,
|
|||
va_start(args, format);
|
||||
if (verbose) {
|
||||
vsnprintf(buf, sizeof(buf), format, args);
|
||||
printf(ANSI_BRIGHT_BLUE "%s():%d - " ANSI_BRIGHT_RED "%s" ANSI_NORMAL "\n", func, line, buf); \
|
||||
fprintf(stderr, ANSI_BRIGHT_BLUE "%s():%d - " ANSI_BRIGHT_RED "%s" ANSI_NORMAL "\n", func, line, buf); \
|
||||
}
|
||||
va_end(args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue