initial.commit | f5b16fe | 2008-07-27 00:20:51 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
[email protected] | e46cdae | 2009-08-25 20:59:27 | [diff] [blame] | 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 | ||||
5 | # found in the LICENSE file. | ||||
6 | |||||
initial.commit | f5b16fe | 2008-07-27 00:20:51 | [diff] [blame] | 7 | exec_dir=$(dirname $0) |
8 | |||||
[email protected] | 68d7f638 | 2008-11-12 19:42:24 | [diff] [blame] | 9 | if [ "$OSTYPE" = "cygwin" ]; then |
tfarina | a16e8bc | 2014-10-10 03:11:29 | [diff] [blame] | 10 | SCRIPT=$(cygpath -wa "$exec_dir/run_layout_tests.py") |
[email protected] | 68d7f638 | 2008-11-12 19:42:24 | [diff] [blame] | 11 | else |
tfarina | a16e8bc | 2014-10-10 03:11:29 | [diff] [blame] | 12 | SCRIPT="$exec_dir/run_layout_tests.py" |
[email protected] | 68d7f638 | 2008-11-12 19:42:24 | [diff] [blame] | 13 | fi |
14 | |||||
[email protected] | ad95192 | 2010-03-31 16:36:48 | [diff] [blame] | 15 | PYTHON_PROG=python |
16 | unset PYTHONPATH | ||||
17 | |||||
[email protected] | 4ecbeba6 | 2010-03-05 03:32:57 | [diff] [blame] | 18 | "$PYTHON_PROG" "$SCRIPT" "$@" |