blob: 42ed2d1b1e16f871d8d9ca76e73f62aa4cff3253 [file] [log] [blame]
# Copyright 2010 The ChromiumOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT="7587d1008f9458093943d1a15029ef80950a772c"
CROS_WORKON_TREE="624e9dce7007b2f2d0011dfab8841d823d85740a"
CROS_WORKON_PROJECT="chromiumos/third_party/trousers"
CROS_WORKON_EGIT_BRANCH="master-0.3.13"
inherit cros-workon autotest
DESCRIPTION="Trousers TPM tests"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/trousers/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
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_compile() {
# for Makefile
export TROUSERS_DIR=${WORKDIR}/${P}
autotest_src_compile
}