Title: [201550] trunk/Tools
Revision
201550
Author
[email protected]
Date
2016-06-01 04:57:55 -0700 (Wed, 01 Jun 2016)

Log Message

Unreviewed. Mark GTK+ test /webkit2/WebKitWebInspectorServer/test-open-debugging-session as slow.

It's timing out in the bots, but it seems to pass when running run-gtk-tests with no timeout. For GLib tests the
timeout is applied per tester program not per test case, so we need to mark the whole test
WebKit2Gtk/TestInspectorServer as slow.

* Scripts/run-gtk-tests:
(TestRunner):
(TestRunner._run_test_glib):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (201549 => 201550)


--- trunk/Tools/ChangeLog	2016-06-01 10:06:39 UTC (rev 201549)
+++ trunk/Tools/ChangeLog	2016-06-01 11:57:55 UTC (rev 201550)
@@ -1,5 +1,17 @@
 2016-06-01  Carlos Garcia Campos  <[email protected]>
 
+        Unreviewed. Mark GTK+ test /webkit2/WebKitWebInspectorServer/test-open-debugging-session as slow.
+
+        It's timing out in the bots, but it seems to pass when running run-gtk-tests with no timeout. For GLib tests the
+        timeout is applied per tester program not per test case, so we need to mark the whole test
+        WebKit2Gtk/TestInspectorServer as slow.
+
+        * Scripts/run-gtk-tests:
+        (TestRunner):
+        (TestRunner._run_test_glib):
+
+2016-06-01  Carlos Garcia Campos  <[email protected]>
+
         Unreviewed. Skip media permission request GTK+ unit tests.
 
         They are timing out in the bots.

Modified: trunk/Tools/Scripts/run-gtk-tests (201549 => 201550)


--- trunk/Tools/Scripts/run-gtk-tests	2016-06-01 10:06:39 UTC (rev 201549)
+++ trunk/Tools/Scripts/run-gtk-tests	2016-06-01 11:57:55 UTC (rev 201550)
@@ -88,7 +88,8 @@
 
     SLOW = [
         "WTF_Lock.ContendedShortSection",
-        "WTF_WordLock.ContendedShortSection"
+        "WTF_WordLock.ContendedShortSection",
+        "WebKit2Gtk/TestInspectorServer",
     ]
 
     def __init__(self, options, tests=[]):
@@ -325,8 +326,12 @@
         for test_case in self._test_cases_to_skip(test_program):
             tester_command.extend(['-s', test_case])
         tester_command.append(test_program)
+        timeout = self._options.timeout
+        test = os.path.join(os.path.basename(os.path.dirname(test_program)), os.path.basename(test_program))
+        if test in TestRunner.SLOW:
+            timeout *= 5
 
-        return self._run_test_command(tester_command, self._options.timeout)
+        return self._run_test_command(tester_command, timeout)
 
     def _get_tests_from_google_test_suite(self, test_program):
         try:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to