Changeset 161268 in webkit


Ignore:
Timestamp:
Jan 3, 2014 10:49:25 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

REGRESSION(r161214): [GTK] WebKit2 C API tests fail to run after r161214
https://bugs.webkit.org/show_bug.cgi?id=126430

Reviewed by Martin Robinson.

  • Scripts/run-gtk-tests:

(TestRunner._setup_testing_environment):

  • gtk/common.py: Use common.tests_library_build_path() instead.

(tests_library_build_path): Helper funtion that returns the path
where the tests libraries are built.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r161262 r161268  
     12014-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r161214): [GTK] WebKit2 C API tests fail to run after r161214
     4        https://bugs.webkit.org/show_bug.cgi?id=126430
     5
     6        Reviewed by Martin Robinson.
     7
     8        * Scripts/run-gtk-tests:
     9        (TestRunner._setup_testing_environment):
     10        * gtk/common.py: Use common.tests_library_build_path() instead.
     11        (tests_library_build_path): Helper funtion that returns the path
     12        where the tests libraries are built.
     13
    1142014-01-03  Martin Robinson  <mrobinson@igalia.com>
    215
  • trunk/Tools/Scripts/run-gtk-tests

    r161214 r161268  
    197197        self._test_env['GSETTINGS_BACKEND'] = 'memory'
    198198        self._test_env["TEST_WEBKIT_API_WEBKIT2_RESOURCES_PATH"] = common.top_level_path("Tools", "TestWebKitAPI", "Tests", "WebKit2")
    199         self._test_env["TEST_WEBKIT_API_WEBKIT2_INJECTED_BUNDLE_PATH"] = common.library_build_path()
     199        self._test_env["TEST_WEBKIT_API_WEBKIT2_INJECTED_BUNDLE_PATH"] = common.tests_library_build_path()
    200200        self._test_env["WEBKIT_EXEC_PATH"] = self._programs_path
    201201
  • trunk/Tools/gtk/common.py

    r161214 r161268  
    2525build_dir = None
    2626library_build_dir = None
     27tests_library_build_dir = None
    2728is_cmake = None
    2829build_types = ('Release', 'Debug')
     
    4950            library_build_dir = build_path('.libs', *args)
    5051    return library_build_dir
     52
     53
     54def tests_library_build_path(*args):
     55    if is_cmake_build():
     56        return library_build_path(*args)
     57
     58    global tests_library_build_dir
     59    if not tests_library_build_dir:
     60        tests_library_build_dir = build_path('Libraries', *args)
     61    return tests_library_build_dir
    5162
    5263
Note: See TracChangeset for help on using the changeset viewer.