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

Side by Side Diff: webkit/tools/layout_tests/run_webkit_tests.sh

Issue 1568004: Remove run_webkit_tests dependency on third_party\python_24.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
« no previous file with comments | « webkit/tools/layout_tests/run_webkit_tests.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 exec_dir=$(dirname $0) 7 exec_dir=$(dirname $0)
8 8
9 if [ "$OSTYPE" = "cygwin" ]; then 9 if [ "$OSTYPE" = "cygwin" ]; then
10 system_root=`cygpath "$SYSTEMROOT"`
11 PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM"
12 export PATH
13 unset PYTHONPATH
14 PYTHON_PROG="$exec_dir/../../../third_party/python_24/python.exe"
15 SCRIPT=$(cygpath -wa "$exec_dir/run_webkit_tests.py") 10 SCRIPT=$(cygpath -wa "$exec_dir/run_webkit_tests.py")
16 else 11 else
17 PYTHON_PROG=python
18 unset PYTHONPATH
19 SCRIPT="$exec_dir/run_webkit_tests.py" 12 SCRIPT="$exec_dir/run_webkit_tests.py"
20 fi 13 fi
21 14
15 PYTHON_PROG=python
16 unset PYTHONPATH
17
22 "$PYTHON_PROG" "$SCRIPT" "$@" 18 "$PYTHON_PROG" "$SCRIPT" "$@"
OLDNEW
« no previous file with comments | « webkit/tools/layout_tests/run_webkit_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698