Changeset 221925 in webkit


Ignore:
Timestamp:
Sep 12, 2017 9:59:24 AM (7 years ago)
Author:
Michael Catanzaro
Message:

[WPE][GTK] Run tests with G_DEBUG=fatal-criticals
https://bugs.webkit.org/show_bug.cgi?id=176755

Reviewed by Carlos Garcia Campos.

  • Scripts/webkitpy/port/gtk.py:

(GtkPort.setup_environ_for_server):

  • Scripts/webkitpy/port/wpe.py:

(WPEPort.setup_environ_for_server):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r221923 r221925  
     12017-09-12  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [WPE][GTK] Run tests with G_DEBUG=fatal-criticals
     4        https://bugs.webkit.org/show_bug.cgi?id=176755
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * Scripts/webkitpy/port/gtk.py:
     9        (GtkPort.setup_environ_for_server):
     10        * Scripts/webkitpy/port/wpe.py:
     11        (WPEPort.setup_environ_for_server):
     12
    1132017-09-12  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Tools/Scripts/webkitpy/port/gtk.py

    r218482 r221925  
    117117    def setup_environ_for_server(self, server_name=None):
    118118        environment = super(GtkPort, self).setup_environ_for_server(server_name)
     119        environment['G_DEBUG'] = 'fatal-criticals'
    119120        environment['GSETTINGS_BACKEND'] = 'memory'
    120121        environment['LIBOVERLAY_SCROLLBAR'] = '0'
     
    139140                    _log.warning("Can't find Gallium llvmpipe driver. Try to run update-webkitgtk-libs")
    140141        if self.get_option("leaks"):
    141             #  Turn off GLib memory optimisations https://wiki.gnome.org/Valgrind.
     142            # Turn off GLib memory optimisations https://wiki.gnome.org/Valgrind.
    142143            environment['G_SLICE'] = 'always-malloc'
    143             environment['G_DEBUG'] = 'gc-friendly'
     144            environment['G_DEBUG'] += ',gc-friendly'
    144145            xmlfilename = "".join(("drt-%p-", uuid.uuid1().hex, "-leaks.xml"))
    145146            xmlfile = os.path.join(self.results_directory(), xmlfilename)
  • trunk/Tools/Scripts/webkitpy/port/wpe.py

    r219300 r221925  
    6464    def setup_environ_for_server(self, server_name=None):
    6565        environment = super(WPEPort, self).setup_environ_for_server(server_name)
     66        environment['G_DEBUG'] = 'fatal-criticals'
    6667        environment['GSETTINGS_BACKEND'] = 'memory'
    6768        environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('lib', 'libTestRunnerInjectedBundle.so')
Note: See TracChangeset for help on using the changeset viewer.