Changeset 56760 in webkit
- Timestamp:
- Mar 29, 2010 9:04:40 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r56755 r56760 1 2010-03-29 Martin Robinson <mrobinson@webkit.org> 2 3 Reviewed by Holger Freyther. 4 5 [GTK] suppress (un)desired launcher output that can make layout test to fail with stderr 6 https://bugs.webkit.org/show_bug.cgi?id=36390 7 8 Suppress debugging messages sent to the GLib logger during DRT runs. 9 10 * DumpRenderTree/gtk/DumpRenderTree.cpp: 11 (logHandler): Added. 12 (main): Use logHandler as the default GLib log message handler. 13 1 14 2010-03-29 Eric Seidel <eric@webkit.org> 2 15 -
trunk/WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp
r56701 r56760 900 900 } 901 901 902 static void logHandler(const gchar* domain, GLogLevelFlags level, const gchar* message, gpointer data) 903 { 904 if (level < G_LOG_LEVEL_DEBUG) 905 fprintf(stderr, "%s\n", message); 906 } 907 902 908 int main(int argc, char* argv[]) 903 909 { 904 910 g_thread_init(NULL); 905 911 gtk_init(&argc, &argv); 912 913 // Some plugins might try to use the GLib logger for printing debug 914 // messages. This will cause tests to fail because of unexpected output. 915 // We squelch all debug messages sent to the logger. 916 g_log_set_default_handler(logHandler, 0); 906 917 907 918 #if PLATFORM(X11)
Note: See TracChangeset
for help on using the changeset viewer.