Don't spam debug messages into TAP output
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user