projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96778fc
)
Don't spam debug messages into TAP output
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 Nov 2021 23:45:34 +0000
(18:45 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 Nov 2021 23:45:34 +0000
(18:45 -0500)
g_log_writer_standard_streams just puts all the logs
out onto stderr and stdout if we don't stop it. Pango
recently grew a bunch of g_debug calls, and those were
now showing up, making all the reftests fail.
testsuite/reftests/gtk-reftest.c
patch
|
blob
|
history
diff --git
a/testsuite/reftests/gtk-reftest.c
b/testsuite/reftests/gtk-reftest.c
index 232108f46ace48387f651183eae43888f12b26db..3872f554dc9033892a09ae8fd481c87fcf0829df 100644
(file)
--- a/
testsuite/reftests/gtk-reftest.c
+++ b/
testsuite/reftests/gtk-reftest.c
@@
-497,7
+497,10
@@
log_writer (GLogLevelFlags log_level,
}
#endif
- return g_log_writer_standard_streams (log_level, fields, n_fields, user_data);
+ if (!g_log_writer_default_would_drop (log_level, NULL))
+ return g_log_writer_standard_streams (log_level, fields, n_fields, user_data);
+
+ return G_LOG_WRITER_HANDLED;
}
int