| 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 SCRIPT=$(cygpath -wa "$exec_dir/run_webkit_tests.py") | 10 SCRIPT=$(cygpath -wa "$exec_dir/run_layout_tests.py") |
| 11 else | 11 else |
| 12 SCRIPT="$exec_dir/run_webkit_tests.py" | 12 SCRIPT="$exec_dir/run_layout_tests.py" |
| 13 fi | 13 fi |
| 14 | 14 |
| 15 PYTHON_PROG=python | 15 PYTHON_PROG=python |
| 16 unset PYTHONPATH | 16 unset PYTHONPATH |
| 17 | 17 |
| 18 "$PYTHON_PROG" "$SCRIPT" "$@" | 18 "$PYTHON_PROG" "$SCRIPT" "$@" |
| OLD | NEW |