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

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_package/platform_utils_mac.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 Mac implementation of the layout_package.platform_utils 5 """This is the Mac 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 platform 9 import platform
10 import signal 10 import signal
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 # Use of the earlier -TERM placement is just fine on 10.5. 166 # Use of the earlier -TERM placement is just fine on 10.5.
167 null = open(os.devnull) 167 null = open(os.devnull)
168 subprocess.call(['killall', '-TERM', '-u', os.getenv('USER'), 168 subprocess.call(['killall', '-TERM', '-u', os.getenv('USER'),
169 process_name], stderr=null) 169 process_name], stderr=null)
170 null.close() 170 null.close()
171 171
172 172
173 def KillAllTestShells(): 173 def KillAllTestShells():
174 """Kills all instances of the test_shell binary currently running.""" 174 """Kills all instances of the test_shell binary currently running."""
175 KillAllProcess('TestShell') 175 KillAllProcess('TestShell')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698