Home | History | Annotate | Download | only in layout_tests
      1 #!/bin/sh
      2 
      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 
      7 exec_dir=$(dirname $0)
      8 
      9 if [ "$OSTYPE" = "cygwin" ]; then
     10   SCRIPT=$(cygpath -wa "$exec_dir/run_webkit_tests.py")
     11 else
     12   SCRIPT="$exec_dir/run_webkit_tests.py"
     13 fi
     14 
     15 PYTHON_PROG=python
     16 unset PYTHONPATH
     17 
     18 "$PYTHON_PROG" "$SCRIPT" "$@"
     19