Title: [171794] trunk/Tools
- Revision
- 171794
- Author
- [email protected]
- Date
- 2014-07-30 00:47:22 -0700 (Wed, 30 Jul 2014)
Log Message
[GTK] GLib tests fail with recent GTK+ due to runtime warning about deprecated properties
https://bugs.webkit.org/show_bug.cgi?id=135411
Reviewed by Sergio Villar Senin.
Recent versions of GTK+ now warn at runtime when a deprecated
property or signal is used. A diagnostic mode was added that is
enabled by default, but that can be disabled by setting
G_ENABLE_DIAGNOSTIC=0. Runtime warnings are considered test
failures by gtester, so we need to run the tests with the
diganostic mode disabled.
* TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
(main):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (171793 => 171794)
--- trunk/Tools/ChangeLog 2014-07-30 07:45:05 UTC (rev 171793)
+++ trunk/Tools/ChangeLog 2014-07-30 07:47:22 UTC (rev 171794)
@@ -1,3 +1,20 @@
+2014-07-30 Carlos Garcia Campos <[email protected]>
+
+ [GTK] GLib tests fail with recent GTK+ due to runtime warning about deprecated properties
+ https://bugs.webkit.org/show_bug.cgi?id=135411
+
+ Reviewed by Sergio Villar Senin.
+
+ Recent versions of GTK+ now warn at runtime when a deprecated
+ property or signal is used. A diagnostic mode was added that is
+ enabled by default, but that can be disabled by setting
+ G_ENABLE_DIAGNOSTIC=0. Runtime warnings are considered test
+ failures by gtester, so we need to run the tests with the
+ diganostic mode disabled.
+
+ * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
+ (main):
+
2014-07-29 Carlos Garcia Campos <[email protected]>
[GTK] Remove WebKitCertificateInfo from WebKit2GTK+ API
Modified: trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp (171793 => 171794)
--- trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp 2014-07-30 07:45:05 UTC (rev 171793)
+++ trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp 2014-07-30 07:47:22 UTC (rev 171794)
@@ -60,6 +60,8 @@
g_setenv("LC_ALL", "C", TRUE);
g_setenv("GIO_USE_VFS", "local", TRUE);
g_setenv("GSETTINGS_BACKEND", "memory", TRUE);
+ // Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+ g_setenv("G_ENABLE_DIAGNOSTIC", "0", TRUE);
g_test_bug_base("https://bugs.webkit.org/");
registerGResource();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes