⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 201550 in webkit


Ignore:
Timestamp:
Jun 1, 2016, 4:57:55 AM (10 years ago)
Author:
Carlos Garcia Campos
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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r201548 r201550  
     12016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        Unreviewed. Mark GTK+ test /webkit2/WebKitWebInspectorServer/test-open-debugging-session as slow.
     4
     5        It's timing out in the bots, but it seems to pass when running run-gtk-tests with no timeout. For GLib tests the
     6        timeout is applied per tester program not per test case, so we need to mark the whole test
     7        WebKit2Gtk/TestInspectorServer as slow.
     8
     9        * Scripts/run-gtk-tests:
     10        (TestRunner):
     11        (TestRunner._run_test_glib):
     12
    1132016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Tools/Scripts/run-gtk-tests

    r201548 r201550  
    8989    SLOW = [
    9090        "WTF_Lock.ContendedShortSection",
    91         "WTF_WordLock.ContendedShortSection"
     91        "WTF_WordLock.ContendedShortSection",
     92        "WebKit2Gtk/TestInspectorServer",
    9293    ]
    9394
     
    326327            tester_command.extend(['-s', test_case])
    327328        tester_command.append(test_program)
    328 
    329         return self._run_test_command(tester_command, self._options.timeout)
     329        timeout = self._options.timeout
     330        test = os.path.join(os.path.basename(os.path.dirname(test_program)), os.path.basename(test_program))
     331        if test in TestRunner.SLOW:
     332            timeout *= 5
     333
     334        return self._run_test_command(tester_command, timeout)
    330335
    331336    def _get_tests_from_google_test_suite(self, test_program):
Note: See TracChangeset for help on using the changeset viewer.