blob: 6bd9c8896dfb4a7468f06ab67f6a37d0f05c1be9 [file] [log] [blame]
#!/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`
SRC_DIR=`readlink -f $INSTALL_DIR/../`
TESTS_DIR=$INSTALL_DIR/tests
FRAMEWORK_DIR=$INSTALL_DIR/framework
PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR \
SRC_DIR=$SRC_DIR python $FRAMEWORK_DIR/main.py $*