| #!/bin/bash |
| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| FILE_PATH=`readlink -f $0` |
| INSTALL_DIR=`dirname $FILE_PATH` |
| SRC_DIR=`readlink -f $INSTALL_DIR/../` |
| |
| TESTS_DIR=$INSTALL_DIR/tests |
| FRAMEWORK_DIR=$INSTALL_DIR/framework |
| XORG_CONF_DIR=$INSTALL_DIR/xorg-conf-files |
| |
| PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR \ |
| XORG_CONF_DIR=$XORG_CONF_DIR SRC_DIR=$SRC_DIR \ |
| python $FRAMEWORK_DIR/main.py $* |