| OLD | NEW |
| 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/test_output_formatter.py" "-v" "$@" | 23 "$PYTHON_PROG" "$exec_dir/webkitpy/test_output_formatter.py" "-v" "$@" |
| OLD | NEW |