blob: ac13cb5596dd8d091ff4f5f0514b47cc5a912422 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="416d30f74a9c1dc08b95b907d8b7e81edf6c9db0"
CROS_WORKON_TREE="2cd21e92b13e88448a3462987e159e8e96567f98"
CROS_WORKON_PROJECT="chromiumos/third_party/trousers"
inherit cros-workon autotest
DESCRIPTION="Trousers TPM tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
DEPEND="app-crypt/trousers
!<chromeos-base/autotest-tests-0.0.1-r1521"
RDEPEND="${DEPEND}"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
IUSE_TESTS="
+tests_hardware_TPM
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=trousers
# path from root of repo
AUTOTEST_CLIENT_SITE_TESTS=autotest
src_configure() {
cros-workon_src_configure
}
src_compile() {
# for Makefile
export TROUSERS_DIR=${WORKDIR}/${P}
autotest_src_compile
}