blob: 9bfe79adc0a8312962152216f6b759f22c261f10 [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=7
CROS_WORKON_COMMIT="0e97e25e85f0499e23b09a31a2c7116759f191d5"
CROS_WORKON_TREE="d990e6cc56eeab048a96de48cefdacc10e0c13b3"
CROS_WORKON_PROJECT="chromiumos/platform/vboot_reference"
inherit cros-workon autotest
DESCRIPTION="TPM firmware tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0/0"
KEYWORDS="*"
DEPEND="
app-crypt/trousers:=
chromeos-base/tpm:=
"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
IUSE_TESTS="
+tests_hardware_TPMFirmware
+tests_hardware_TPMFirmwareServer
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=vboot_reference
# path from root of repo
AUTOTEST_CLIENT_SITE_TESTS=autotest/client
AUTOTEST_SERVER_SITE_TESTS=autotest/server
function src_compile {
# for Makefile
export VBOOT_DIR=${WORKDIR}/${P}
export MINIMAL=1 # Makefile requires this for cross-compiling
autotest_src_compile
}