On Mac, "new-run-webkit-test --chromium --use-drt" doesn't work in Chromium tree. Linux and Windows seem to have the same problem. _build_path() in webkitpy/layout_test/port/chromium_*.py have a problem.
NRWT tries to use src/third_party/WebKit/WebKit/chromium/xcodebuild/Debug/DumpRenderTree.app instead of src/xcodebuild/Debug/DumpRenderTree.app We need to use path_from_chromium_base() even if --use-drt is specified.
I think it would be ideal if we first tried src/third_party/WebKit/WebKit/chromium/xcodebuild/Debug/DumpRenderTree.app then fell back to src/xcodebuild/Debug/DumpRenderTree.app. For example, if I only have a chromium checkout, I sometimes use build-webkit --chromium in src/third_party/WebKit/ to make and test changes.
Created attachment 58337 [details] Patch
LGTM (but I am not a reviewer)
Created attachment 58340 [details] Patch (rev.2)
Comment on attachment 58340 [details] Patch (rev.2) ok.
Comment on attachment 58340 [details] Patch (rev.2) Clearing flags on attachment: 58340 Committed r61061: <http://trac.webkit.org/changeset/61061>
All reviewed patches have been landed. Closing bug.