blob: 1d64c2b524a7bfdeae4eac8d21a465946a187c33 [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
10REPLAY_TOOL=$INSTALL_DIR/replay
11FRAMEWORK_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
14PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR REPLAY_TOOL=$REPLAY_TOOL \
Dennis Kempin72bc9d42013-01-22 11:33:46 -080015 XORG_CONF_DIR=$XORG_CONF_DIR \
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070016 python $FRAMEWORK_DIR/main.py $*