Index: webkit/tools/layout_tests/layout_package/http_server.py |
=================================================================== |
--- webkit/tools/layout_tests/layout_package/http_server.py (revision 19531) |
+++ webkit/tools/layout_tests/layout_package/http_server.py (working copy) |
@@ -34,7 +34,13 @@ |
_webkit_tests = PathFromBase('webkit', 'data', 'layout_tests', |
'LayoutTests', 'http', 'tests') |
except google.path_utils.PathNotFound: |
- _webkit_tests = None |
+ # If webkit/data/layout_tests/LayoutTests/http/tests does not exist, assume |
+ # wekit tests are located in third_party/WebKit/LayoutTests/http/tests. |
+ try: |
+ _webkit_tests = PathFromBase('third_party', 'WebKit', |
+ 'LayoutTests', 'http', 'tests') |
+ except google.path_utils.PathNotFound: |
+ _webkit_tests = None |
# New tests for Chrome |
try: |