summaryrefslogtreecommitdiffstats
path: root/blink/tools/run_layout_tests.sh
blob: f2d707e41eda6b467f86dc09e6e19ad6fb5477da (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_layout_tests.py")
else
  SCRIPT="$exec_dir/run_layout_tests.py"
fi

PYTHON_PROG=python
unset PYTHONPATH

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