Set correct errors when transfer buffer creation fails.
[chromium-blink-merge.git] / blink / tools / run_layout_tests.sh
blobf2d707e41eda6b467f86dc09e6e19ad6fb5477da
1 #!/bin/sh
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.
7 exec_dir=$(dirname $0)
9 if [ "$OSTYPE" = "cygwin" ]; then
10 SCRIPT=$(cygpath -wa "$exec_dir/run_layout_tests.py")
11 else
12 SCRIPT="$exec_dir/run_layout_tests.py"
15 PYTHON_PROG=python
16 unset PYTHONPATH
18 "$PYTHON_PROG" "$SCRIPT" "$@"