Changeset 98193 in webkit


Ignore:
Timestamp:
Oct 22, 2011 9:38:27 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[WK2][GTK] Missing env variables cause WKTR to crash
https://bugs.webkit.org/show_bug.cgi?id=70674

Patch by Zan Dobersek <zandobersek@gmail.com> on 2011-10-22
Reviewed by Martin Robinson.

Set two environment variables that the Gtk's port of WebKitTestRunner
depends on and crashes if they're not explicitly set by the user.
Also modify the setting of the WEBKIT_INSPECTOR_PATH variable so it
properly uses the _build_path method.

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

TEST_RUNNER_INJECTED_BUNDLE_FILENAME and TEST_RUNNER_TEST_PLUGIN_PATH
environment variables.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r98167 r98193  
     12011-10-22  Zan Dobersek  <zandobersek@gmail.com>
     2
     3        [WK2][GTK] Missing env variables cause WKTR to crash
     4        https://bugs.webkit.org/show_bug.cgi?id=70674
     5
     6        Reviewed by Martin Robinson.
     7
     8        Set two environment variables that the Gtk's port of WebKitTestRunner
     9        depends on and crashes if they're not explicitly set by the user.
     10        Also modify the setting of the WEBKIT_INSPECTOR_PATH variable so it
     11        properly uses the _build_path method.
     12
     13        * Scripts/webkitpy/layout_tests/port/gtk.py: Set
     14        TEST_RUNNER_INJECTED_BUNDLE_FILENAME and TEST_RUNNER_TEST_PLUGIN_PATH
     15        environment variables.
     16
    1172011-10-21  Filip Pizlo  <fpizlo@apple.com>
    218
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py

    r91866 r98193  
    7777        environment['GTK_MODULES'] = 'gail'
    7878        environment['LIBOVERLAY_SCROLLBAR'] = '0'
    79         environment['WEBKIT_INSPECTOR_PATH'] = self._build_path('Programs/resources/inspector')
     79        environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('Libraries', 'libTestRunnerInjectedBundle.la')
     80        environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path('Libraries', 'TestNetscapePlugin')
     81        environment['WEBKIT_INSPECTOR_PATH'] = self._build_path('Programs', 'resources', 'inspector')
    8082        return environment
    8183
Note: See TracChangeset for help on using the changeset viewer.