Commit 561dcfc3 authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2011-06-29 Eric Seidel <eric@webkit.org>

        Reviewed by Adam Barth.

        Make port/config.py mockable for easier unit testing
        https://bugs.webkit.org/show_bug.cgi?id=63661

        Fix an exception from the unit tests.

        * Scripts/webkitpy/layout_tests/port/config.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bbc8e412
2011-06-29 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Make port/config.py mockable for easier unit testing
https://bugs.webkit.org/show_bug.cgi?id=63661
Fix an exception from the unit tests.
* Scripts/webkitpy/layout_tests/port/config.py:
2011-06-29 Brent Fulgham <bfulgham@webkit.org>
 
Unreviewed build correction.
......
......@@ -119,7 +119,7 @@ class Config(object):
# This code will also work if there is no SCM system at all.
if not self._webkit_base_dir:
config_module_path = self._filesystem.path_to_module(self.__module__)
self._webkit_base_dir = abspath[0:config_module_path.find('Tools') - 1]
self._webkit_base_dir = config_module_path[0:config_module_path.find('Tools') - 1]
return self._webkit_base_dir
def script_path(self, script_name):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment