Dennis Kempin | b59f4ed | 2012-08-09 13:13:10 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | FILE_PATH=`readlink -f $0` |
| 7 | INSTALL_DIR=`dirname $FILE_PATH` |
| 8 | |
| 9 | TESTS_DIR=$INSTALL_DIR/tests |
Dennis Kempin | b59f4ed | 2012-08-09 13:13:10 -0700 | [diff] [blame] | 10 | FRAMEWORK_DIR=$INSTALL_DIR/framework |
Dennis Kempin | 72bc9d4 | 2013-01-22 11:33:46 -0800 | [diff] [blame] | 11 | XORG_CONF_DIR=$INSTALL_DIR/xorg-conf-files |
Dennis Kempin | b59f4ed | 2012-08-09 13:13:10 -0700 | [diff] [blame] | 12 | |
Dennis Kempin | 774b062 | 2013-02-08 13:14:54 -0800 | [diff] [blame^] | 13 | PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR \ |
Dennis Kempin | 72bc9d4 | 2013-01-22 11:33:46 -0800 | [diff] [blame] | 14 | XORG_CONF_DIR=$XORG_CONF_DIR \ |
Dennis Kempin | b59f4ed | 2012-08-09 13:13:10 -0700 | [diff] [blame] | 15 | python $FRAMEWORK_DIR/main.py $* |