Title: [90051] trunk/Tools
Revision
90051
Author
[email protected]
Date
2011-06-29 14:56:50 -0700 (Wed, 29 Jun 2011)

Log Message

2011-06-29  Eric Seidel  <[email protected]>

        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:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (90050 => 90051)


--- trunk/Tools/ChangeLog	2011-06-29 21:48:00 UTC (rev 90050)
+++ trunk/Tools/ChangeLog	2011-06-29 21:56:50 UTC (rev 90051)
@@ -1,3 +1,14 @@
+2011-06-29  Eric Seidel  <[email protected]>
+
+        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  <[email protected]>
 
         Unreviewed build correction.

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/config.py (90050 => 90051)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/config.py	2011-06-29 21:48:00 UTC (rev 90050)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/config.py	2011-06-29 21:56:50 UTC (rev 90051)
@@ -119,7 +119,7 @@
         # 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):
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to