summaryrefslogtreecommitdiffstats
path: root/webkit/tools/layout_tests/run_webkit_tests.sh
blob: 59aad37e23f570f644bde60bd3435249a833dbb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

exec_dir=$(dirname $0)

if [ "$OSTYPE" = "cygwin" ]; then
  SCRIPT=$(cygpath -wa "$exec_dir/run_webkit_tests.py")
else
  SCRIPT="$exec_dir/run_webkit_tests.py"
fi

PYTHON_PROG=python
unset PYTHONPATH

"$PYTHON_PROG" "$SCRIPT" "$@"