Changeset 109127 in webkit


Ignore:
Timestamp:
Feb 28, 2012 11:26:10 AM (12 years ago)
Author:
danw@gnome.org
Message:

[GTK] make tests explicitly request GSettingsBackendMemory
https://bugs.webkit.org/show_bug.cgi?id=79788

Reviewed by Martin Robinson.

Explicitly request the fallback memory-based GSettings backend; if
other backends are available then we don't want to use them,
because they would make tests depend on the user's preferences.
And if other backends aren't available, we don't need glib to
print a warning about that fact.

  • Scripts/webkitpy/layout_tests/port/gtk.py:

(GtkPort.setup_environ_for_server):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r109115 r109127  
     12012-02-28  Dan Winship  <danw@gnome.org>
     2
     3        [GTK] make tests explicitly request GSettingsBackendMemory
     4        https://bugs.webkit.org/show_bug.cgi?id=79788
     5
     6        Reviewed by Martin Robinson.
     7
     8        Explicitly request the fallback memory-based GSettings backend; if
     9        other backends are available then we don't want to use them,
     10        because they would make tests depend on the user's preferences.
     11        And if other backends aren't available, we don't need glib to
     12        print a warning about that fact.
     13
     14        * Scripts/webkitpy/layout_tests/port/gtk.py:
     15        (GtkPort.setup_environ_for_server):
     16
    1172012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    218
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py

    r107136 r109127  
    8282        environment = WebKitPort.setup_environ_for_server(self, server_name)
    8383        environment['GTK_MODULES'] = 'gail'
     84        environment['GSETTINGS_BACKEND'] = 'memory'
    8485        environment['LIBOVERLAY_SCROLLBAR'] = '0'
    8586        environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('Libraries', 'libTestRunnerInjectedBundle.la')
Note: See TracChangeset for help on using the changeset viewer.