blob: 01ae2b78edb7b918f40c464353d572cf732d76c5 [file] [log] [blame]
Dennis Kempinb59f4ed2012-08-09 13:13:10 -07001#!/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
6FILE_PATH=`readlink -f $0`
7INSTALL_DIR=`dirname $FILE_PATH`
Dennis Kempin1c7ffab2013-02-28 11:43:45 -08008SRC_DIR=`readlink -f $INSTALL_DIR/../`
Dennis Kempinb59f4ed2012-08-09 13:13:10 -07009
10TESTS_DIR=$INSTALL_DIR/tests
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070011FRAMEWORK_DIR=$INSTALL_DIR/framework
Dennis Kempin72bc9d42013-01-22 11:33:46 -080012XORG_CONF_DIR=$INSTALL_DIR/xorg-conf-files
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070013
Dennis Kempin774b0622013-02-08 13:14:54 -080014PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR \
Dennis Kempin1c7ffab2013-02-28 11:43:45 -080015 XORG_CONF_DIR=$XORG_CONF_DIR SRC_DIR=$SRC_DIR \
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070016 python $FRAMEWORK_DIR/main.py $*