2010-11-08 Dirk Pranke <dpranke@chromium.org>
authordpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Nov 2010 23:36:07 +0000 (23:36 +0000)
committerdpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Nov 2010 23:36:07 +0000 (23:36 +0000)
commit6a1f95919b1e6e46fd6516a28fed6044c2f07075
tree36db62cd05f46746beea504878a53e4b0c70d9f2
parent54ad9018a0b8a67ee6fa195932404e32c2af820a
2010-11-08  Dirk Pranke <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        Fix the webkit_base_dir logic in webkitpy/layout_tests/port/config.py.
        It turns out that NRWT can't use the code in scm.find_checkout_root()
        because the Chromium bots don't do full checkouts of the WebKit
        tree; they only check out subdirectories like WebKitTools/Scripts.
        Until we can figure out a better approach for this, I've
        restored the base_dir-detecting code from NRWT, which works in
        any directory tree, scm or no.

        This also restores the files modified in r71475 and r71474.

        https://bugs.webkit.org/show_bug.cgi?id=49151

        * WebKitTools/Scripts/webkitpy/layout_tests/port/config.py
        * WebKitTools/Scripts/webkitpy/layout_tests/port/config_unittest.py

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
WebKitTools/ChangeLog
WebKitTools/Scripts/webkitpy/common/newstringio.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/common/newstringio_unittest.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/common/system/executive_mock.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/common/system/filesystem_mock.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/layout_tests/port/base.py
WebKitTools/Scripts/webkitpy/layout_tests/port/base_unittest.py
WebKitTools/Scripts/webkitpy/layout_tests/port/config.py
WebKitTools/Scripts/webkitpy/layout_tests/port/config_mock.py [new file with mode: 0644]
WebKitTools/Scripts/webkitpy/layout_tests/port/config_unittest.py
WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py
WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py
WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py
WebKitTools/Scripts/webkitpy/tool/mocktool.py