Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_package/platform_utils_linux.py

Issue 545145: Move the layout test scripts into a 'webkitpy' subdirectory in preparation... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: try to de-confuse svn and the try bots Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2008-2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2008-2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """This is the Linux implementation of the layout_package.platform_utils 5 """This is the Linux implementation of the layout_package.platform_utils
6 package. This file should only be imported by that package.""" 6 package. This file should only be imported by that package."""
7 7
8 import os 8 import os
9 import signal 9 import signal
10 import subprocess 10 import subprocess
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 def _PathFromBuildResults(*pathies): 215 def _PathFromBuildResults(*pathies):
216 # FIXME(dkegel): use latest or warn if more than one found? 216 # FIXME(dkegel): use latest or warn if more than one found?
217 for dir in ["sconsbuild", "out", "xcodebuild"]: 217 for dir in ["sconsbuild", "out", "xcodebuild"]:
218 try: 218 try:
219 return path_utils.PathFromBase(dir, *pathies) 219 return path_utils.PathFromBase(dir, *pathies)
220 except: 220 except:
221 pass 221 pass
222 raise path_utils.PathNotFound("Unable to find %s in build tree" % 222 raise path_utils.PathNotFound("Unable to find %s in build tree" %
223 (os.path.join(*pathies))) 223 (os.path.join(*pathies)))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698