blob: fc6a898445cc31bdf9a35de2c66c6501c3ef7cc0 [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
Ilja H. Friedela35b0132013-03-13 21:48:14 -070013make -C $INSTALL_DIR/../ in-place
14
Dennis Kempin774b0622013-02-08 13:14:54 -080015PYTHONPATH=$FRAMEWORK_DIR TESTS_DIR=$TESTS_DIR \
Ilja H. Friedela35b0132013-03-13 21:48:14 -070016 XORG_CONF_DIR=$XORG_CONF_DIR \
Dennis Kempinb59f4ed2012-08-09 13:13:10 -070017 python $FRAMEWORK_DIR/main.py $*