#!/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` | |
TESTS_DIR=$INSTALL_DIR/tests | |
REPLAY_TOOL=$INSTALL_DIR/replay | |
FRAMEWORK_DIR=$INSTALL_DIR/framework | |
PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR REPLAY_TOOL=$REPLAY_TOOL \ | |
python $FRAMEWORK_DIR/main.py $* |