blob: bd9dba4f5e7f10ca4ee6bb17442981a9556c94e7 [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`
8
9TESTS_DIR=$INSTALL_DIR/tests
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070010FRAMEWORK_DIR=$INSTALL_DIR/framework
Dennis Kempin72bc9d42013-01-22 11:33:46 -080011XORG_CONF_DIR=$INSTALL_DIR/xorg-conf-files
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070012
Dennis Kempin774b0622013-02-08 13:14:54 -080013PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR \
Dennis Kempin72bc9d42013-01-22 11:33:46 -080014 XORG_CONF_DIR=$XORG_CONF_DIR \
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070015 python $FRAMEWORK_DIR/main.py $*