Title: [173963] releases/WebKitGTK/webkit-2.4/Tools
Revision
173963
Author
[email protected]
Date
2014-09-25 07:21:19 -0700 (Thu, 25 Sep 2014)

Log Message

Unreviewed. Get rid of runtime warnings about deprecated properties and signals, since they break the tests.

* TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testdownload.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testloading.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testwebresource.c:
(main):
* TestWebKitAPI/Tests/WebKitGtk/testwebview.c:

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.4/Tools/ChangeLog (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/ChangeLog	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/ChangeLog	2014-09-25 14:21:19 UTC (rev 173963)
@@ -1,3 +1,23 @@
+2014-09-25  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+
+        * TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testdownload.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testloading.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testwebresource.c:
+        (main):
+        * TestWebKitAPI/Tests/WebKitGtk/testwebview.c:
+
 2014-09-19  Carlos Garcia Campos  <[email protected]>
 
         [GTK] generate-inspector-gresource-manifest.py should receive the list of files from the makefile

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -285,6 +285,9 @@
 {
     gtk_test_init(&argc, &argv, NULL);
 
+    // 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/");
 
     g_test_add("/webkit/testcontextmenu/document", ContextMenuFixture,

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -312,6 +312,9 @@
 {
     gtk_test_init(&argc, &argv, NULL);
 
+    // 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/");
     g_test_add_func("/webkit/download/create", test_webkit_download_create);
     g_test_add_func("/webkit/download/synch", test_webkit_download_synch);

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -245,6 +245,9 @@
 {
     gtk_test_init(&argc, &argv, NULL);
 
+    // Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+    g_setenv("G_ENABLE_DIAGNOSTIC", "0", TRUE);
+
     /* This hopefully makes the test independent of the path it's called from. */
     testutils_relative_chdir("Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html", argv[0]);
 

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -142,6 +142,8 @@
 int main(int argc, char** argv)
 {
     gtk_test_init(&argc, &argv, NULL);
+    // 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/");
 

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -400,6 +400,8 @@
     SoupServer* server;
 
     gtk_test_init(&argc, &argv, NULL);
+    // Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+    g_setenv("G_ENABLE_DIAGNOSTIC", "0", TRUE);
 
     server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
     soup_server_run_async(server);

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -177,6 +177,9 @@
 
     gtk_test_init(&argc, &argv, NULL);
 
+    // Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+    g_setenv("G_ENABLE_DIAGNOSTIC", "0", TRUE);
+
     /* Hopefully make test independent of the path it's called from. */
     testutils_relative_chdir("Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html", argv[0]);
 

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -296,6 +296,9 @@
 
     gtk_test_init(&argc, &argv, NULL);
 
+    // Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+    g_setenv("G_ENABLE_DIAGNOSTIC", "0", TRUE);
+
     server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
     soup_server_run_async(server);
 

Modified: releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c (173962 => 173963)


--- releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c	2014-09-25 14:05:25 UTC (rev 173962)
+++ releases/WebKitGTK/webkit-2.4/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c	2014-09-25 14:21:19 UTC (rev 173963)
@@ -715,6 +715,9 @@
 
     gtk_test_init(&argc, &argv, NULL);
 
+    // Get rid of runtime warnings about deprecated properties and signals, since they break the tests.
+    g_setenv("G_ENABLE_DIAGNOSTIC", "0", TRUE);
+
     /* Hopefully make test independent of the path it's called from. */
     testutils_relative_chdir("Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html", argv[0]);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to