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

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

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 #!/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"` 10 system_root=`cygpath "$SYSTEMROOT"`
11 PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM" 11 PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM"
12 export PATH 12 export PATH
13 PYTHON_PROG="$exec_dir/../../../third_party/python_24/python.exe" 13 PYTHON_PROG="$exec_dir/../../../third_party/python_24/python.exe"
14 else 14 else
15 PYTHON_PROG=python 15 PYTHON_PROG=python
16 # When not using the included python, we don't get automatic site.py paths. 16 # When not using the included python, we don't get automatic site.py paths.
17 # Specifically, run_webkit_tests needs the paths in: 17 # Specifically, run_webkit_tests needs the paths in:
18 # third_party/python_24/Lib/site-packages/google.pth 18 # third_party/python_24/Lib/site-packages/google.pth
19 PYTHONPATH="${exec_dir}/../../../tools/python:$PYTHONPATH" 19 PYTHONPATH="${exec_dir}/../../../tools/python:$PYTHONPATH"
20 export PYTHONPATH 20 export PYTHONPATH
21 fi 21 fi
22 22
23 "$PYTHON_PROG" "$exec_dir/run_webkit_tests.py" "$@" 23 "$PYTHON_PROG" "$exec_dir/webkitpy/run_chromium_webkit_tests.py" "$@"
OLDNEW
« no previous file with comments | « webkit/tools/layout_tests/run_webkit_tests.py ('k') | webkit/tools/layout_tests/test_output_formatter.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698