blob: b230387866c6c18de5ff9f0f41c9c3b7720739f2 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="3df0554cf662482ff78867206f406e790a91075c"
CROS_WORKON_TREE="af83fec5f201d6b7e569affc40e3b2f301e2d939"
PYTHON_COMPAT=( python2_7 python{3_6,3_7,3_8} )
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME="third_party/autotest/files"
inherit cros-workon autotest python-any-r1
DESCRIPTION="Autotests involving the tpm"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/autotest/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
# Enable autotest by default.
IUSE="+autotest tpm2"
RDEPEND="
!<chromeos-base/autotest-tests-0.0.3
tpm2? ( chromeos-base/g2f_tools )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_firmware_Cr50VirtualNVRam
+tests_firmware_Cr50VirtualNVRamServer
+tests_firmware_Cr50U2fPowerwash
+tests_hardware_TPMCheck
+tests_kernel_TPMStress
+tests_platform_Pkcs11InitUnderErrors
+tests_platform_Pkcs11ChangeAuthData
+tests_platform_Pkcs11Events
+tests_platform_Pkcs11LoadPerf
+tests_platform_TPMEvict
"
IUSE="${IUSE} ${IUSE_TESTS}"
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"