chore(coreos-base): drop autotest

This commit is contained in:
Brandon Philips 2014-04-04 15:36:23 -07:00
parent 0411c9b909
commit 2c2a4e5431
53 changed files with 1 additions and 3855 deletions

View File

@ -1,45 +0,0 @@
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
DESCRIPTION="Meta ebuild for all packages providing tests"
HOMEPAGE="http://www.chromium.org"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="amd64 arm x86"
IUSE=""
# TODO
#RDEPEND="
# coreos-base/autotest-tests
# coreos-base/autotest-tests-ltp
# coreos-base/autotest-tests-ownershipapi
# coreos-base/autotest-factory
# coreos-base/autotest-private
#"
DEPEND="${RDEPEND}"
SUITE_DEPENDENCIES_FILE="dependency_info"
src_unpack() {
elog "Unpacking..."
mkdir -p "${S}"
touch "${S}/${SUITE_DEPENDENCIES_FILE}"
}
src_install() {
# So that this package properly owns the file
insinto /usr/local/autotest/test_suites
doins "${SUITE_DEPENDENCIES_FILE}"
}
# Pre-processes control files and installs DEPENDENCIES info.
pkg_postinst() {
local root_autotest_dir="${ROOT}/usr/local/autotest"
python -B "${root_autotest_dir}/site_utils/suite_preprocessor.py" \
-a "${root_autotest_dir}" \
-o "${root_autotest_dir}/test_suites/${SUITE_DEPENDENCIES_FILE}"
}

View File

@ -1,119 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Autotest tests that require chrome_test or pyauto deps"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="
chromeos-base/autotest-tests
chromeos-base/chromeos-chrome
chromeos-base/flimflam-test
tests_audiovideo_PlaybackRecordSemiAuto? ( media-sound/alsa-utils )
"
DEPEND="${RDEPEND}"
IUSE_TESTS=(
# Inherits from enterprise_ui_test.
+tests_desktopui_EnterprisePolicy
# Uses chrome_test dependency.
+tests_audiovideo_FFMPEG
+tests_audiovideo_VDA
# Inherits from cros_ui_test.
+tests_desktopui_BrowserTest
+tests_desktopui_DocViewing
+tests_desktopui_PyAutoEnduranceTests
+tests_desktopui_PyAutoFunctionalTests
+tests_desktopui_PyAutoInstall
+tests_desktopui_PyAutoPerfTests
+tests_desktopui_SyncIntegrationTests
+tests_audiovideo_PlaybackRecordSemiAuto
+tests_desktopui_AudioFeedback
+tests_desktopui_ChromeSemiAuto
+tests_desktopui_FlashSanityCheck
+tests_desktopui_IBusTest
+tests_desktopui_ImeTest
+tests_desktopui_LoadBigFile
+tests_desktopui_MediaAudioFeedback
+tests_desktopui_NaClSanity
+tests_desktopui_ScreenLocker
+tests_desktopui_SimpleLogin
tests_desktopui_TouchScreen
+tests_desktopui_UrlFetch
+tests_desktopui_WebRTC
+tests_desktopui_VideoSanity
+tests_desktopui_YouTubeHTML5
+tests_enterprise_DevicePolicy
+tests_graphics_GLAPICheck
+tests_graphics_GpuReset
+tests_graphics_Piglit
+tests_graphics_SanAngeles
+tests_graphics_TearTest
+tests_graphics_VTSwitch
+tests_graphics_WebGLConformance
+tests_graphics_WebGLPerformance
+tests_graphics_WindowManagerGraphicsCapture
+tests_hardware_BluetoothSemiAuto
+tests_hardware_ExternalDrives
+tests_hardware_USB20
+tests_hardware_UsbPlugIn
tests_logging_AsanCrash
+tests_logging_UncleanShutdown
+tests_login_BadAuthentication
+tests_login_ChromeProfileSanitary
+tests_login_CryptohomeIncognitoMounted
+tests_login_CryptohomeIncognitoUnmounted
+tests_login_CryptohomeMounted
+tests_login_CryptohomeUnmounted
+tests_login_LoginSuccess
+tests_login_LogoutProcessCleanup
+tests_login_RemoteLogin
+tests_network_3GSuspendResume
+tests_network_NavigateToUrl
+tests_network_ONC
+tests_platform_Pkcs11InitOnLogin
+tests_platform_Pkcs11Persistence
+tests_platform_ProcessPrivileges
+tests_power_AudioDetector
+tests_power_Consumption
+tests_power_Idle
+tests_power_LoadTest
+tests_power_SuspendStress
+tests_power_UiResume
+tests_power_VideoDetector
+tests_power_VideoSuspend
+tests_realtimecomm_GTalkAudioPlayground
+tests_realtimecomm_GTalkPlayground
+tests_security_BluetoothUIXSS
+tests_security_BundledExtensions
+tests_security_NetworkListeners
+tests_security_ProfilePermissions
+tests_security_RendererSandbox
)
IUSE="${IUSE} ${IUSE_TESTS[*]}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,119 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Autotest tests that require chrome_test or pyauto deps"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="
chromeos-base/autotest-tests
chromeos-base/chromeos-chrome
chromeos-base/flimflam-test
tests_audiovideo_PlaybackRecordSemiAuto? ( media-sound/alsa-utils )
"
DEPEND="${RDEPEND}"
IUSE_TESTS=(
# Inherits from enterprise_ui_test.
+tests_desktopui_EnterprisePolicy
# Uses chrome_test dependency.
+tests_audiovideo_FFMPEG
+tests_audiovideo_VDA
# Inherits from cros_ui_test.
+tests_desktopui_BrowserTest
+tests_desktopui_DocViewing
+tests_desktopui_PyAutoEnduranceTests
+tests_desktopui_PyAutoFunctionalTests
+tests_desktopui_PyAutoInstall
+tests_desktopui_PyAutoPerfTests
+tests_desktopui_SyncIntegrationTests
+tests_audiovideo_PlaybackRecordSemiAuto
+tests_desktopui_AudioFeedback
+tests_desktopui_ChromeSemiAuto
+tests_desktopui_FlashSanityCheck
+tests_desktopui_IBusTest
+tests_desktopui_ImeTest
+tests_desktopui_LoadBigFile
+tests_desktopui_MediaAudioFeedback
+tests_desktopui_NaClSanity
+tests_desktopui_ScreenLocker
+tests_desktopui_SimpleLogin
tests_desktopui_TouchScreen
+tests_desktopui_UrlFetch
+tests_desktopui_WebRTC
+tests_desktopui_VideoSanity
+tests_desktopui_YouTubeHTML5
+tests_enterprise_DevicePolicy
+tests_graphics_GLAPICheck
+tests_graphics_GpuReset
+tests_graphics_Piglit
+tests_graphics_SanAngeles
+tests_graphics_TearTest
+tests_graphics_VTSwitch
+tests_graphics_WebGLConformance
+tests_graphics_WebGLPerformance
+tests_graphics_WindowManagerGraphicsCapture
+tests_hardware_BluetoothSemiAuto
+tests_hardware_ExternalDrives
+tests_hardware_USB20
+tests_hardware_UsbPlugIn
tests_logging_AsanCrash
+tests_logging_UncleanShutdown
+tests_login_BadAuthentication
+tests_login_ChromeProfileSanitary
+tests_login_CryptohomeIncognitoMounted
+tests_login_CryptohomeIncognitoUnmounted
+tests_login_CryptohomeMounted
+tests_login_CryptohomeUnmounted
+tests_login_LoginSuccess
+tests_login_LogoutProcessCleanup
+tests_login_RemoteLogin
+tests_network_3GSuspendResume
+tests_network_NavigateToUrl
+tests_network_ONC
+tests_platform_Pkcs11InitOnLogin
+tests_platform_Pkcs11Persistence
+tests_platform_ProcessPrivileges
+tests_power_AudioDetector
+tests_power_Consumption
+tests_power_Idle
+tests_power_LoadTest
+tests_power_SuspendStress
+tests_power_UiResume
+tests_power_VideoDetector
+tests_power_VideoSuspend
+tests_realtimecomm_GTalkAudioPlayground
+tests_realtimecomm_GTalkPlayground
+tests_security_BluetoothUIXSS
+tests_security_BundledExtensions
+tests_security_NetworkListeners
+tests_security_ProfilePermissions
+tests_security_RendererSandbox
)
IUSE="${IUSE} ${IUSE_TESTS[*]}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,117 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Autotest tests that require chrome_test or pyauto deps"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="
chromeos-base/autotest-tests
chromeos-base/chromeos-chrome
chromeos-base/flimflam-test
tests_audiovideo_PlaybackRecordSemiAuto? ( media-sound/alsa-utils )
"
DEPEND="${RDEPEND}"
IUSE_TESTS=(
# Inherits from enterprise_ui_test.
+tests_desktopui_EnterprisePolicy
# Uses chrome_test dependency.
+tests_audiovideo_FFMPEG
+tests_audiovideo_VDA
# Inherits from cros_ui_test.
+tests_desktopui_BrowserTest
+tests_desktopui_DocViewing
+tests_desktopui_PyAutoEnduranceTests
+tests_desktopui_PyAutoFunctionalTests
+tests_desktopui_PyAutoInstall
+tests_desktopui_PyAutoPerfTests
+tests_desktopui_SyncIntegrationTests
+tests_audiovideo_PlaybackRecordSemiAuto
+tests_desktopui_AudioFeedback
+tests_desktopui_ChromeSemiAuto
+tests_desktopui_FlashSanityCheck
+tests_desktopui_IBusTest
+tests_desktopui_ImeTest
+tests_desktopui_LoadBigFile
+tests_desktopui_MediaAudioFeedback
+tests_desktopui_NaClSanity
+tests_desktopui_ScreenLocker
+tests_desktopui_SimpleLogin
tests_desktopui_TouchScreen
+tests_desktopui_UrlFetch
+tests_desktopui_WebRTC
+tests_desktopui_VideoSanity
+tests_desktopui_YouTubeHTML5
+tests_enterprise_DevicePolicy
+tests_graphics_GLAPICheck
+tests_graphics_GpuReset
+tests_graphics_Piglit
+tests_graphics_SanAngeles
+tests_graphics_TearTest
+tests_graphics_VTSwitch
+tests_graphics_WebGLConformance
+tests_graphics_WebGLPerformance
+tests_graphics_WindowManagerGraphicsCapture
+tests_hardware_BluetoothSemiAuto
+tests_hardware_ExternalDrives
+tests_hardware_USB20
+tests_hardware_UsbPlugIn
tests_logging_AsanCrash
+tests_logging_UncleanShutdown
+tests_login_BadAuthentication
+tests_login_ChromeProfileSanitary
+tests_login_CryptohomeIncognitoMounted
+tests_login_CryptohomeIncognitoUnmounted
+tests_login_CryptohomeMounted
+tests_login_CryptohomeUnmounted
+tests_login_LoginSuccess
+tests_login_LogoutProcessCleanup
+tests_login_RemoteLogin
+tests_network_3GSuspendResume
+tests_network_NavigateToUrl
+tests_network_ONC
+tests_platform_Pkcs11InitOnLogin
+tests_platform_Pkcs11Persistence
+tests_platform_ProcessPrivileges
+tests_power_AudioDetector
+tests_power_Consumption
+tests_power_Idle
+tests_power_LoadTest
+tests_power_SuspendStress
+tests_power_UiResume
+tests_power_VideoDetector
+tests_power_VideoSuspend
+tests_realtimecomm_GTalkAudioPlayground
+tests_realtimecomm_GTalkPlayground
+tests_security_BluetoothUIXSS
+tests_security_BundledExtensions
+tests_security_NetworkListeners
+tests_security_ProfilePermissions
+tests_security_RendererSandbox
)
IUSE="${IUSE} ${IUSE_TESTS[*]}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,35 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest audioloop dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="audioloop"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/audioloop
RDEPEND="${RDEPEND}
media-libs/alsa-lib
media-sound/adhd"
DEPEND="${RDEPEND}"

View File

@ -1,35 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest audioloop dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="audioloop"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/audioloop
RDEPEND="${RDEPEND}
media-libs/alsa-lib
media-sound/adhd"
DEPEND="${RDEPEND}"

View File

@ -1,33 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest audioloop dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="audioloop"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/audioloop
RDEPEND="${RDEPEND}
media-libs/alsa-lib
media-sound/adhd"
DEPEND="${RDEPEND}"

View File

@ -1,35 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest chromium ffmpeg dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="ffmpeg"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/ffmpeg
RDEPEND="${RDEPEND}
chromeos-base/chromeos-chrome
"
DEPEND="${RDEPEND}"

View File

@ -1,35 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest chromium ffmpeg dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="ffmpeg"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/ffmpeg
RDEPEND="${RDEPEND}
chromeos-base/chromeos-chrome
"
DEPEND="${RDEPEND}"

View File

@ -1,33 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest chromium ffmpeg dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="ffmpeg"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/ffmpeg
RDEPEND="${RDEPEND}
chromeos-base/chromeos-chrome
"
DEPEND="${RDEPEND}"

View File

@ -1,47 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict cros-debug
DESCRIPTION="Autotest glbench dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
LIBCHROME_VERS="125070"
RDEPEND="${RDEPEND}
dev-cpp/gflags
chromeos-base/libchrome:${LIBCHROME_VERS}[cros-debug=]
virtual/opengl
opengles? ( virtual/opengles )
x11-apps/xwd
"
DEPEND="${RDEPEND}
opengles? ( x11-drivers/opengles-headers )"
AUTOTEST_DEPS_LIST="glbench"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
src_prepare() {
autotest-deponly_src_prepare
cros-debug-add-NDEBUG
export BASE_VER=${LIBCHROME_VERS}
}

View File

@ -1,47 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict cros-debug
DESCRIPTION="Autotest glbench dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
LIBCHROME_VERS="125070"
RDEPEND="${RDEPEND}
dev-cpp/gflags
chromeos-base/libchrome:${LIBCHROME_VERS}[cros-debug=]
virtual/opengl
opengles? ( virtual/opengles )
x11-apps/xwd
"
DEPEND="${RDEPEND}
opengles? ( x11-drivers/opengles-headers )"
AUTOTEST_DEPS_LIST="glbench"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
src_prepare() {
autotest-deponly_src_prepare
cros-debug-add-NDEBUG
export BASE_VER=${LIBCHROME_VERS}
}

View File

@ -1,45 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict cros-debug
DESCRIPTION="Autotest glbench dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
# Autotest enabled by default.
IUSE="+autotest"
LIBCHROME_VERS="125070"
RDEPEND="${RDEPEND}
dev-cpp/gflags
chromeos-base/libchrome:${LIBCHROME_VERS}[cros-debug=]
virtual/opengl
opengles? ( virtual/opengles )
x11-apps/xwd
"
DEPEND="${RDEPEND}
opengles? ( x11-drivers/opengles-headers )"
AUTOTEST_DEPS_LIST="glbench"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
src_prepare() {
autotest-deponly_src_prepare
cros-debug-add-NDEBUG
export BASE_VER=${LIBCHROME_VERS}
}

View File

@ -1,40 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest glmark2 dependency"
HOMEPAGE="https://launchpad.net/glmark2"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="glmark2"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/glmark2
RDEPEND="
virtual/opengl
media-libs/libpng
sys-libs/zlib
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
"
DEPEND="${RDEPEND}"

View File

@ -1,40 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest glmark2 dependency"
HOMEPAGE="https://launchpad.net/glmark2"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="glmark2"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/glmark2
RDEPEND="
virtual/opengl
media-libs/libpng
sys-libs/zlib
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
"
DEPEND="${RDEPEND}"

View File

@ -1,41 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="6c2d8194633ffe128f3afbc094a03ef22bd29a8a"
CROS_WORKON_TREE="3fac66aefc84fb25e5359292e9153c676ccbbf6f"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest glmark2 dependency"
HOMEPAGE="https://launchpad.net/glmark2"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="glmark2"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/glmark2
RDEPEND="
virtual/opengl
media-libs/libpng
sys-libs/zlib
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
"
DEPEND="${RDEPEND}"

View File

@ -1,38 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest glmark2 dependency"
HOMEPAGE="https://launchpad.net/glmark2"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
# Autotest enabled by default.
IUSE="+autotest"
AUTOTEST_DEPS_LIST="glmark2"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/glmark2
RDEPEND="
virtual/opengl
media-libs/libpng
sys-libs/zlib
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
"
DEPEND="${RDEPEND}"

View File

@ -1,31 +0,0 @@
# 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="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict
DESCRIPTION="Autotest iotools dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="iotools"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"

View File

@ -1,31 +0,0 @@
# 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="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict
DESCRIPTION="Autotest iotools dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="iotools"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"

View File

@ -1,29 +0,0 @@
# 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_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict
DESCRIPTION="Autotest iotools dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="iotools"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"

View File

@ -1,30 +0,0 @@
# 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="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict
DESCRIPTION="Autotest libaio dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="libaio"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"

View File

@ -1,30 +0,0 @@
# 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="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict
DESCRIPTION="Autotest libaio dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="libaio"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"

View File

@ -1,28 +0,0 @@
# 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_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321"
inherit cros-workon autotest-deponly conflict
DESCRIPTION="Autotest libaio dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="libaio"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"

View File

@ -1,50 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="dependencies for Piglit (collection of automated tests for OpenGl based on glean and mesa)"
HOMEPAGE="http://cgit.freedesktop.org/piglit"
SRC_URI=""
LICENSE="GPL"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="piglit"
RDEPEND="
virtual/glut
virtual/opengl
dev-python/mako
dev-python/numpy
media-libs/tiff
media-libs/libpng
sys-libs/zlib
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXtst
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXi
x11-libs/libXpm
"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"
# export a variable so that piglit knows where to find libglut.so
export GLUT_LIBDIR=/usr/$(get_libdir)

View File

@ -1,50 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="dependencies for Piglit (collection of automated tests for OpenGl based on glean and mesa)"
HOMEPAGE="http://cgit.freedesktop.org/piglit"
SRC_URI=""
LICENSE="GPL"
SLOT="0"
KEYWORDS="amd64 arm x86"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="piglit"
RDEPEND="
virtual/glut
virtual/opengl
dev-python/mako
dev-python/numpy
media-libs/tiff
media-libs/libpng
sys-libs/zlib
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXtst
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXi
x11-libs/libXpm
"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"
# export a variable so that piglit knows where to find libglut.so
export GLUT_LIBDIR=/usr/$(get_libdir)

View File

@ -1,48 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="dependencies for Piglit (collection of automated tests for OpenGl based on glean and mesa)"
HOMEPAGE="http://cgit.freedesktop.org/piglit"
SRC_URI=""
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST="piglit"
RDEPEND="
virtual/glut
virtual/opengl
dev-python/mako
dev-python/numpy
media-libs/tiff
media-libs/libpng
sys-libs/zlib
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXtst
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXi
x11-libs/libXpm
"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
DEPEND="${RDEPEND}"
# export a variable so that piglit knows where to find libglut.so
export GLUT_LIBDIR=/usr/$(get_libdir)

View File

@ -1,74 +0,0 @@
# 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="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest common deps"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
# following deps don't compile: boottool, mysql, pgpool, pgsql, systemtap, # dejagnu, libcap, libnet
# following deps are not deps: factory
# following tests are going to be moved: chrome_test
AUTOTEST_DEPS_LIST="fio gfxtest gtest hdparm ibusclient iwcap realtimecomm_playground sysstat sox test_tones fakegudev fakemodem pyxinput example_cros_dep"
AUTOTEST_CONFIG_LIST=*
AUTOTEST_PROFILERS_LIST=*
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/gtest
RDEPEND="
dev-cpp/gtest
"
RDEPEND="${RDEPEND}
chromeos-base/autotest-deps-libaio
"
# deps/chrome_test
#RDEPEND="${RDEPEND}
# chromeos-base/chromeos-chrome
#"
# deps/ibusclient
RDEPEND="${RDEPEND}
app-i18n/ibus
dev-libs/glib
sys-apps/dbus
"
# deps/iwcap
RDEPEND="${RDEPEND}
dev-libs/libnl:0
"
# deps/fakegudev
RDEPEND="${RDEPEND}
virtual/udev[gudev]
"
# deps/fakemodem
RDEPEND="${RDEPEND}
chromeos-base/autotest-fakemodem-conf
"
RDEPEND="${RDEPEND}
sys-devel/binutils
"
DEPEND="${RDEPEND}"

View File

@ -1,74 +0,0 @@
# 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="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest common deps"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
# following deps don't compile: boottool, mysql, pgpool, pgsql, systemtap, # dejagnu, libcap, libnet
# following deps are not deps: factory
# following tests are going to be moved: chrome_test
AUTOTEST_DEPS_LIST="fio gfxtest gtest hdparm ibusclient iwcap realtimecomm_playground sysstat sox test_tones fakegudev fakemodem pyxinput example_cros_dep"
AUTOTEST_CONFIG_LIST=*
AUTOTEST_PROFILERS_LIST=*
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/gtest
RDEPEND="
dev-cpp/gtest
"
RDEPEND="${RDEPEND}
chromeos-base/autotest-deps-libaio
"
# deps/chrome_test
#RDEPEND="${RDEPEND}
# chromeos-base/chromeos-chrome
#"
# deps/ibusclient
RDEPEND="${RDEPEND}
app-i18n/ibus
dev-libs/glib
sys-apps/dbus
"
# deps/iwcap
RDEPEND="${RDEPEND}
dev-libs/libnl:0
"
# deps/fakegudev
RDEPEND="${RDEPEND}
virtual/udev[gudev]
"
# deps/fakemodem
RDEPEND="${RDEPEND}
chromeos-base/autotest-fakemodem-conf
"
RDEPEND="${RDEPEND}
sys-devel/binutils
"
DEPEND="${RDEPEND}"

View File

@ -1,72 +0,0 @@
# 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_PROJECT="chromiumos/third_party/autotest"
inherit cros-workon autotest-deponly
DESCRIPTION="Autotest common deps"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
# Autotest enabled by default.
IUSE="+autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
# following deps don't compile: boottool, mysql, pgpool, pgsql, systemtap, # dejagnu, libcap, libnet
# following deps are not deps: factory
# following tests are going to be moved: chrome_test
AUTOTEST_DEPS_LIST="fio gfxtest gtest hdparm ibusclient iwcap realtimecomm_playground sysstat sox test_tones fakegudev fakemodem pyxinput example_cros_dep"
AUTOTEST_CONFIG_LIST=*
AUTOTEST_PROFILERS_LIST=*
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
# deps/gtest
RDEPEND="
dev-cpp/gtest
"
RDEPEND="${RDEPEND}
chromeos-base/autotest-deps-libaio
"
# deps/chrome_test
#RDEPEND="${RDEPEND}
# chromeos-base/chromeos-chrome
#"
# deps/ibusclient
RDEPEND="${RDEPEND}
app-i18n/ibus
dev-libs/glib
sys-apps/dbus
"
# deps/iwcap
RDEPEND="${RDEPEND}
dev-libs/libnl:0
"
# deps/fakegudev
RDEPEND="${RDEPEND}
virtual/udev[gudev]
"
# deps/fakemodem
RDEPEND="${RDEPEND}
chromeos-base/autotest-fakemodem-conf
"
RDEPEND="${RDEPEND}
sys-devel/binutils
"
DEPEND="${RDEPEND}"

View File

@ -1,99 +0,0 @@
# 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="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r335"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="Autotest Factory tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
IUSE="+xset hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
# Factory tests require locally installed deps, which are called out in
# autotest-factory-deps.
RDEPEND="
chromeos-base/autotest-deps-iotools
chromeos-base/autotest-deps-libaio
chromeos-base/autotest-deps-audioloop
chromeos-base/autotest-deps-glbench
chromeos-base/autotest-private-board
chromeos-base/chromeos-factory
chromeos-base/flimflam-test
>=chromeos-base/vpd-0.0.1-r11
dev-python/jsonrpclib
dev-python/pygobject
dev-python/pygtk
dev-python/ws4py
xset? ( x11-apps/xset )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_dummy_Fail
+tests_dummy_Pass
+tests_factory_Antenna
+tests_factory_Audio
+tests_factory_AudioInternalLoopback
+tests_factory_AudioLoop
+tests_factory_AudioQuality
+tests_factory_BasicCellular
+tests_factory_BasicGPS
+tests_factory_BasicWifi
+tests_factory_Camera
+tests_factory_CameraPerformanceAls
+tests_factory_Cellular
+tests_factory_Connector
+tests_factory_DeveloperRecovery
+tests_factory_Display
+tests_factory_Dummy
+tests_factory_ExtDisplay
+tests_factory_ExternalStorage
+tests_factory_Fail
+tests_factory_Finalize
+tests_factory_HWID
+tests_factory_Keyboard
+tests_factory_KeyboardBacklight
+tests_factory_Leds
+tests_factory_LidSwitch
+tests_factory_LightSensor
+tests_factory_ProbeWifi
+tests_factory_Prompt
+tests_factory_RemovableStorage
+tests_factory_RunScript
+tests_factory_ScanSN
+tests_factory_ScriptWrapper
+tests_factory_Start
+tests_factory_StressTest
+tests_factory_SyncEventLogs
+tests_factory_Touchpad
+tests_factory_Touchscreen
+tests_factory_TPM
+tests_factory_USB
+tests_factory_VerifyComponents
+tests_factory_VPD
+tests_factory_Wifi
+tests_suite_Factory
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,99 +0,0 @@
# 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="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r335"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="Autotest Factory tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
IUSE="+xset hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
# Factory tests require locally installed deps, which are called out in
# autotest-factory-deps.
RDEPEND="
chromeos-base/autotest-deps-iotools
chromeos-base/autotest-deps-libaio
chromeos-base/autotest-deps-audioloop
chromeos-base/autotest-deps-glbench
chromeos-base/autotest-private-board
chromeos-base/chromeos-factory
chromeos-base/flimflam-test
>=chromeos-base/vpd-0.0.1-r11
dev-python/jsonrpclib
dev-python/pygobject
dev-python/pygtk
dev-python/ws4py
xset? ( x11-apps/xset )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_dummy_Fail
+tests_dummy_Pass
+tests_factory_Antenna
+tests_factory_Audio
+tests_factory_AudioInternalLoopback
+tests_factory_AudioLoop
+tests_factory_AudioQuality
+tests_factory_BasicCellular
+tests_factory_BasicGPS
+tests_factory_BasicWifi
+tests_factory_Camera
+tests_factory_CameraPerformanceAls
+tests_factory_Cellular
+tests_factory_Connector
+tests_factory_DeveloperRecovery
+tests_factory_Display
+tests_factory_Dummy
+tests_factory_ExtDisplay
+tests_factory_ExternalStorage
+tests_factory_Fail
+tests_factory_Finalize
+tests_factory_HWID
+tests_factory_Keyboard
+tests_factory_KeyboardBacklight
+tests_factory_Leds
+tests_factory_LidSwitch
+tests_factory_LightSensor
+tests_factory_ProbeWifi
+tests_factory_Prompt
+tests_factory_RemovableStorage
+tests_factory_RunScript
+tests_factory_ScanSN
+tests_factory_ScriptWrapper
+tests_factory_Start
+tests_factory_StressTest
+tests_factory_SyncEventLogs
+tests_factory_Touchpad
+tests_factory_Touchscreen
+tests_factory_TPM
+tests_factory_USB
+tests_factory_VerifyComponents
+tests_factory_VPD
+tests_factory_Wifi
+tests_suite_Factory
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,97 +0,0 @@
# 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_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r335"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="Autotest Factory tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
IUSE="+xset hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
# Factory tests require locally installed deps, which are called out in
# autotest-factory-deps.
RDEPEND="
chromeos-base/autotest-deps-iotools
chromeos-base/autotest-deps-libaio
chromeos-base/autotest-deps-audioloop
chromeos-base/autotest-deps-glbench
chromeos-base/autotest-private-board
chromeos-base/chromeos-factory
chromeos-base/flimflam-test
>=chromeos-base/vpd-0.0.1-r11
dev-python/jsonrpclib
dev-python/pygobject
dev-python/pygtk
dev-python/ws4py
xset? ( x11-apps/xset )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_dummy_Fail
+tests_dummy_Pass
+tests_factory_Antenna
+tests_factory_Audio
+tests_factory_AudioInternalLoopback
+tests_factory_AudioLoop
+tests_factory_AudioQuality
+tests_factory_BasicCellular
+tests_factory_BasicGPS
+tests_factory_BasicWifi
+tests_factory_Camera
+tests_factory_CameraPerformanceAls
+tests_factory_Cellular
+tests_factory_Connector
+tests_factory_DeveloperRecovery
+tests_factory_Display
+tests_factory_Dummy
+tests_factory_ExtDisplay
+tests_factory_ExternalStorage
+tests_factory_Fail
+tests_factory_Finalize
+tests_factory_HWID
+tests_factory_Keyboard
+tests_factory_KeyboardBacklight
+tests_factory_Leds
+tests_factory_LidSwitch
+tests_factory_LightSensor
+tests_factory_ProbeWifi
+tests_factory_Prompt
+tests_factory_RemovableStorage
+tests_factory_RunScript
+tests_factory_ScanSN
+tests_factory_ScriptWrapper
+tests_factory_Start
+tests_factory_StressTest
+tests_factory_SyncEventLogs
+tests_factory_Touchpad
+tests_factory_Touchscreen
+tests_factory_TPM
+tests_factory_USB
+tests_factory_VerifyComponents
+tests_factory_VPD
+tests_factory_Wifi
+tests_suite_Factory
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,16 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
DESCRIPTION="Runtime configuration file for fakemodem (autotest dep)"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
src_install() {
insinto /etc/dbus-1/system.d
doins "${FILESDIR}/org.chromium.FakeModem.conf" || die
}

View File

@ -1,9 +0,0 @@
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy context="default">
<allow send_destination="org.chromium.FakeModem" />
<allow own="org.chromium.FakeModem" />
</policy>
</busconfig>

View File

@ -1,18 +0,0 @@
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
DESCRIPTION="Board specific autotests"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
RDEPEND=""
#
# WARNING: Nothing should be added to this ebuild. This ebuild is overriden
# in most of the board specific overlays, or will be.
#

View File

@ -1,25 +0,0 @@
# 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_REPO=FILL_YOUR_REPO_URL_HERE
# inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Private autotest tests"
HOMEPAGE="http://src.chromium.org"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
DEPEND=""
RDEPEND=""
# This ebuild file is reserved for adding new private tests in your factory
# process. You can change the CROS_WORKON_REPO to your own server, and uncomment
# the following CROS_WORKON_* variables to have your own tests merged when
# building factory test run-in images.
# CROS_WORKON_PROJECT=autotest-private
# CROS_WORKON_LOCALNAME=../third_party/autotest-private
# CROS_WORKON_SUBDIR=

View File

@ -1,46 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r596"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="ltp autotest"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="${RDEPEND}
chromeos-base/protofiles
dev-libs/protobuf
dev-python/pygobject
!<chromeos-base/autotest-tests-0.0.1-r1723
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_ltp
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,46 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r596"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="ltp autotest"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="${RDEPEND}
chromeos-base/protofiles
dev-libs/protobuf
dev-python/pygobject
!<chromeos-base/autotest-tests-0.0.1-r1723
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_ltp
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,44 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r596"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="ltp autotest"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="${RDEPEND}
chromeos-base/protofiles
dev-libs/protobuf
dev-python/pygobject
!<chromeos-base/autotest-tests-0.0.1-r1723
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_ltp
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,52 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r596"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="login_OwnershipApi autotest"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
IUSE="+autox +xset +tpmtools hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="${RDEPEND}
chromeos-base/flimflam-test
chromeos-base/chromeos-chrome
chromeos-base/protofiles
dev-libs/protobuf
dev-python/pygobject
autox? ( chromeos-base/autox )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_login_OwnershipApi
+tests_login_OwnershipNotRetaken
+tests_login_OwnershipRetaken
+tests_login_OwnershipTaken
+tests_login_RemoteOwnership
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,52 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r596"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="login_OwnershipApi autotest"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
IUSE="+autox +xset +tpmtools hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="${RDEPEND}
chromeos-base/flimflam-test
chromeos-base/chromeos-chrome
chromeos-base/protofiles
dev-libs/protobuf
dev-python/pygobject
autox? ( chromeos-base/autox )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_login_OwnershipApi
+tests_login_OwnershipNotRetaken
+tests_login_OwnershipRetaken
+tests_login_OwnershipTaken
+tests_login_RemoteOwnership
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,50 +0,0 @@
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CONFLICT_LIST="chromeos-base/autotest-tests-0.0.1-r596"
inherit toolchain-funcs flag-o-matic cros-workon autotest conflict
DESCRIPTION="login_OwnershipApi autotest"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
IUSE="+autox +xset +tpmtools hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
RDEPEND="${RDEPEND}
chromeos-base/flimflam-test
chromeos-base/chromeos-chrome
chromeos-base/protofiles
dev-libs/protobuf
dev-python/pygobject
autox? ( chromeos-base/autox )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_login_OwnershipApi
+tests_login_OwnershipNotRetaken
+tests_login_OwnershipRetaken
+tests_login_OwnershipTaken
+tests_login_RemoteOwnership
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,318 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Autotest tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
IUSE="+autox +xset +tpmtools hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
# TODO(snanda): Remove xset dependence once power_LoadTest is switched over
# to use power manager
# TODO(semenzato): tpm-tools is included for hardware_TpmFirmware (and at this
# time only one binary is used, tpm_takeownership). Once we have a testing
# image, a better way would be to add tpm-tools to the image.
#
# pygtk is used only in the following:
# desktopui_ImeTest
# desktopui_ImeLogin
# pygobject is used only in the following:
# desktopui_ScreenLocker
# hardware_BluetoothSemiAuto
# network_3GActivate
# network_3GDormancyDance
# network_3GFailedConnect
# network_3GRecoverFromGobiDesync
# network_3GSafetyDance
# network_3GSmokeTest
# network_3GStressEnable
# network_WiFiSmokeTest
# network_WifiAuthenticationTests
RDEPEND="
chromeos-base/autotest-deps
chromeos-base/autotest-deps-glbench
chromeos-base/autotest-deps-glmark2
chromeos-base/autotest-deps-iotools
chromeos-base/autotest-deps-libaio
chromeos-base/autotest-deps-piglit
chromeos-base/flimflam-test
autox? ( chromeos-base/autox )
dev-python/numpy
dev-python/pygobject
dev-python/pygtk
xset? ( x11-apps/xset )
tpmtools? ( app-crypt/tpm-tools )
"
RDEPEND="${RDEPEND}
tests_platform_RootPartitionsNotMounted? ( sys-apps/rootdev )
tests_platform_RootPartitionsNotMounted? ( virtual/udev )
tests_hardware_TPMFirmware? ( chromeos-base/tpm_lite )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_compilebench
+tests_crashme
+tests_dbench
+tests_ddtest
+tests_disktest
+tests_fsx
+tests_hackbench
+tests_iperf
+tests_bonnie
+tests_iozone
+tests_netperf2
+tests_netpipe
+tests_scrashme
+tests_sound_infrastructure
+tests_sleeptest
+tests_unixbench
+tests_audiovideo_CRASFormatConversion
+tests_audiovideo_LineOutToMicInLoopback
+tests_audiovideo_LoopbackLatency
+tests_audiovideo_Microphone
+tests_audiovideo_V4L2
+tests_cellular_Smoke
+tests_cellular_ThroughputController
+tests_cellular_Throughput
+tests_build_RootFilesystemSize
+tests_desktopui_FontCache
+tests_desktopui_GTK2Config
+tests_desktopui_HangDetector
+tests_desktopui_ImeLogin
+tests_desktopui_KillRestart
+tests_desktopui_SpeechSynthesisSemiAuto
tests_example_UnitTest
+tests_example_CrosTest
+tests_graphics_GLBench
+tests_graphics_GLMark2
+tests_graphics_KernelMemory
+tests_graphics_LibDRM
+tests_graphics_SyncControlTest
+tests_firmware_RomSize
tests_firmware_VbootCrypto
+tests_hardware_Ath3k
+tests_hardware_Backlight
+tests_hardware_ch7036
+tests_hardware_Components
+tests_hardware_DeveloperRecovery
+tests_hardware_DiskSize
+tests_hardware_EC
+tests_hardware_EepromWriteProtect
+tests_hardware_GobiGPS
+tests_hardware_GPIOSwitches
+tests_hardware_GPS
+tests_hardware_I2CProbe
+tests_hardware_Interrupt
+tests_hardware_Keyboard
+tests_hardware_LightSensor
+tests_hardware_MemoryThroughput
+tests_hardware_MemoryTotalSize
+tests_hardware_MultiReader
+tests_hardware_RealtekCardReader
+tests_hardware_Resolution
+tests_hardware_SAT
+tests_hardware_SsdDetection
+tests_hardware_StorageFio
tests_hardware_TouchScreenPresent
+tests_hardware_TPMCheck
tests_hardware_TPMFirmware
+tests_hardware_Trackpad
+tests_hardware_VideoOutSemiAuto
+tests_hardware_Xrandr
+tests_hardware_bma150
+tests_kernel_Bootcache
+tests_kernel_ConfigVerify
+tests_kernel_CpufreqMinMax
+tests_kernel_fs_Inplace
+tests_kernel_fs_Punybench
+tests_kernel_Lmbench
+tests_kernel_LowMemNotify
+tests_kernel_PerfEventRename
+tests_kernel_SchedBandwith
+tests_kernel_TPMPing
+tests_kernel_HdParm
+tests_kernel_ProtocolCheck
+tests_logging_CrashSender
+tests_logging_CrashServices
+tests_logging_KernelCrash
+tests_logging_UserCrash
+tests_login_DBusCalls
+tests_login_SecondFactor
+tests_network_3GActivate
+tests_network_3GAssociation
+tests_network_3GDisableWhileConnecting
+tests_network_3GDisableGobiWhileConnecting
+tests_network_3GDormancyDance
+tests_network_3GGobiPorts
+tests_network_3GFailedConnect
+tests_network_3GModemControl
+tests_network_3GModemPresent
+tests_network_3GNoGobi
+tests_network_3GRecoverFromGobiDesync
+tests_network_3GSafetyDance
+tests_network_3GSmokeTest
+tests_network_3GStressEnable
+tests_network_SwitchCarrier
+tests_network_ConnmanCromoCrash
+tests_network_ConnmanIncludeExcludeMultiple
+tests_network_ConnmanPowerStateTracking
+tests_network_DhcpNegotiationSuccess
+tests_network_DhcpRenew
+tests_network_DisableInterface
+tests_network_EthCaps
+tests_network_EthernetStressPlug
+tests_network_GobiUncleanDisconnect
+tests_network_LockedSIM
+tests_network_ModemManagerSMS
+tests_network_ModemManagerSMSSignal
+tests_network_NegotiatedLANSpeed
+tests_network_Ping
+tests_network_Portal
+tests_network_UdevRename
+tests_network_WiFiCaps
+tests_network_WiFiSmokeTest
+tests_network_WifiAuthenticationTests
+tests_network_WlanHasIP
+tests_network_netperf2
+tests_platform_AccurateTime
+tests_platform_AesThroughput
+tests_platform_Attestation
+tests_platform_BootPerf
+tests_platform_CheckErrorsInLog
+tests_platform_CleanShutdown
+tests_platform_CompressedSwap
+tests_platform_CrosDisksArchive
+tests_platform_CrosDisksDBus
+tests_platform_CrosDisksFilesystem
+tests_platform_CrosDisksFormat
+tests_platform_CryptohomeBadPerms
+tests_platform_CryptohomeChangePassword
+tests_platform_CryptohomeFio
+tests_platform_CryptohomeMount
+tests_platform_CryptohomeMultiple
+tests_platform_CryptohomeNonDirs
+tests_platform_CryptohomeStress
+tests_platform_CryptohomeTestAuth
+tests_platform_DaemonsRespawn
+tests_platform_DebugDaemonGetModemStatus
+tests_platform_DebugDaemonGetNetworkStatus
+tests_platform_DebugDaemonGetRoutes
+tests_platform_DebugDaemonPing
+tests_platform_DebugDaemonTracePath
+tests_platform_DMVerityBitCorruption
+tests_platform_DMVerityCorruption
+tests_platform_EncryptedStateful
+tests_platform_EvdevSynDropTest
+tests_platform_ExternalUSBBootStress
+tests_platform_ExternalUSBStress
+tests_platform_FileNum
+tests_platform_FilePerms
+tests_platform_FileSize
+tests_platform_HighResTimers
+tests_platform_KernelVersion
+tests_platform_LibCBench
+tests_platform_MemCheck
+tests_platform_NetParms
+tests_platform_OSLimits
+tests_platform_PartitionCheck
+tests_platform_Pkcs11InitUnderErrors
+tests_platform_Pkcs11ChangeAuthData
+tests_platform_Pkcs11Events
+tests_platform_Pkcs11LoadPerf
+tests_platform_Rootdev
+tests_platform_RootPartitionsNotMounted
+tests_platform_SessionManagerTerm
+tests_platform_Shutdown
+tests_platform_SuspendStress
+tests_platform_TempFS
+tests_platform_TLSDate
+tests_platform_ToolchainOptions
+tests_platform_TouchpadSynDrop
+tests_platform_TPMEvict
+tests_power_ARMSettings
+tests_power_Backlight
+tests_power_BacklightControl
+tests_power_BacklightSuspend
+tests_power_BatteryCharge
+tests_power_CameraSuspend
+tests_power_CPUFreq
+tests_power_CPUIdle
+tests_power_Draw
+tests_power_HotCPUSuspend
+tests_power_KernelSuspend
+tests_power_MemorySuspend
+tests_power_NoConsoleSuspend
+tests_power_ProbeDriver
+tests_power_Resume
+tests_power_Standby
+tests_power_StatsCPUFreq
+tests_power_StatsCPUIdle
+tests_power_StatsUSB
+tests_power_Status
+tests_power_SuspendResume
+tests_power_SuspendShutdown
+tests_power_WakeupRTC
+tests_power_x86Settings
+tests_realtimecomm_GTalkAudioBench
+tests_realtimecomm_GTalkLmiCamera
+tests_realtimecomm_GTalkunittest
+tests_security_AccountsBaseline
+tests_security_ASLR
+tests_security_ChromiumOSLSM
+tests_security_DbusMap
+tests_security_DbusOwners
+tests_security_Firewall
+tests_security_HardlinkRestrictions
+tests_security_HciconfigDefaultSettings
+tests_security_HtpdateHTTP
+tests_security_Minijail_seccomp
+tests_security_Minijail0
+tests_security_ModuleLocking
+tests_security_OpenFDs
+tests_security_OpenSSLBlacklist
+tests_security_OpenSSLRegressions
+tests_security_ProtocolFamilies
+tests_security_ptraceRestrictions
+tests_security_ReservedPrivileges
+tests_security_RestartJob
+tests_security_RootCA
+tests_security_RootfsOwners
+tests_security_RootfsStatefulSymlinks
+tests_security_RuntimeExecStack
+tests_security_SandboxedServices
+tests_security_SeccompSyscallFilters
+tests_security_SMMLocked
+tests_security_StatefulPermissions
+tests_security_SuidBinaries
+tests_security_SymlinkRestrictions
+tests_security_SysVIPC
+tests_suite_HWConfig
+tests_suite_HWQual
+test_Recall
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,318 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Autotest tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
IUSE="+autox +xset +tpmtools hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
# TODO(snanda): Remove xset dependence once power_LoadTest is switched over
# to use power manager
# TODO(semenzato): tpm-tools is included for hardware_TpmFirmware (and at this
# time only one binary is used, tpm_takeownership). Once we have a testing
# image, a better way would be to add tpm-tools to the image.
#
# pygtk is used only in the following:
# desktopui_ImeTest
# desktopui_ImeLogin
# pygobject is used only in the following:
# desktopui_ScreenLocker
# hardware_BluetoothSemiAuto
# network_3GActivate
# network_3GDormancyDance
# network_3GFailedConnect
# network_3GRecoverFromGobiDesync
# network_3GSafetyDance
# network_3GSmokeTest
# network_3GStressEnable
# network_WiFiSmokeTest
# network_WifiAuthenticationTests
RDEPEND="
chromeos-base/autotest-deps
chromeos-base/autotest-deps-glbench
chromeos-base/autotest-deps-glmark2
chromeos-base/autotest-deps-iotools
chromeos-base/autotest-deps-libaio
chromeos-base/autotest-deps-piglit
chromeos-base/flimflam-test
autox? ( chromeos-base/autox )
dev-python/numpy
dev-python/pygobject
dev-python/pygtk
xset? ( x11-apps/xset )
tpmtools? ( app-crypt/tpm-tools )
"
RDEPEND="${RDEPEND}
tests_platform_RootPartitionsNotMounted? ( sys-apps/rootdev )
tests_platform_RootPartitionsNotMounted? ( virtual/udev )
tests_hardware_TPMFirmware? ( chromeos-base/tpm_lite )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_compilebench
+tests_crashme
+tests_dbench
+tests_ddtest
+tests_disktest
+tests_fsx
+tests_hackbench
+tests_iperf
+tests_bonnie
+tests_iozone
+tests_netperf2
+tests_netpipe
+tests_scrashme
+tests_sound_infrastructure
+tests_sleeptest
+tests_unixbench
+tests_audiovideo_CRASFormatConversion
+tests_audiovideo_LineOutToMicInLoopback
+tests_audiovideo_LoopbackLatency
+tests_audiovideo_Microphone
+tests_audiovideo_V4L2
+tests_cellular_Smoke
+tests_cellular_ThroughputController
+tests_cellular_Throughput
+tests_build_RootFilesystemSize
+tests_desktopui_FontCache
+tests_desktopui_GTK2Config
+tests_desktopui_HangDetector
+tests_desktopui_ImeLogin
+tests_desktopui_KillRestart
+tests_desktopui_SpeechSynthesisSemiAuto
tests_example_UnitTest
+tests_example_CrosTest
+tests_graphics_GLBench
+tests_graphics_GLMark2
+tests_graphics_KernelMemory
+tests_graphics_LibDRM
+tests_graphics_SyncControlTest
+tests_firmware_RomSize
tests_firmware_VbootCrypto
+tests_hardware_Ath3k
+tests_hardware_Backlight
+tests_hardware_ch7036
+tests_hardware_Components
+tests_hardware_DeveloperRecovery
+tests_hardware_DiskSize
+tests_hardware_EC
+tests_hardware_EepromWriteProtect
+tests_hardware_GobiGPS
+tests_hardware_GPIOSwitches
+tests_hardware_GPS
+tests_hardware_I2CProbe
+tests_hardware_Interrupt
+tests_hardware_Keyboard
+tests_hardware_LightSensor
+tests_hardware_MemoryThroughput
+tests_hardware_MemoryTotalSize
+tests_hardware_MultiReader
+tests_hardware_RealtekCardReader
+tests_hardware_Resolution
+tests_hardware_SAT
+tests_hardware_SsdDetection
+tests_hardware_StorageFio
tests_hardware_TouchScreenPresent
+tests_hardware_TPMCheck
tests_hardware_TPMFirmware
+tests_hardware_Trackpad
+tests_hardware_VideoOutSemiAuto
+tests_hardware_Xrandr
+tests_hardware_bma150
+tests_kernel_Bootcache
+tests_kernel_ConfigVerify
+tests_kernel_CpufreqMinMax
+tests_kernel_fs_Inplace
+tests_kernel_fs_Punybench
+tests_kernel_Lmbench
+tests_kernel_LowMemNotify
+tests_kernel_PerfEventRename
+tests_kernel_SchedBandwith
+tests_kernel_TPMPing
+tests_kernel_HdParm
+tests_kernel_ProtocolCheck
+tests_logging_CrashSender
+tests_logging_CrashServices
+tests_logging_KernelCrash
+tests_logging_UserCrash
+tests_login_DBusCalls
+tests_login_SecondFactor
+tests_network_3GActivate
+tests_network_3GAssociation
+tests_network_3GDisableWhileConnecting
+tests_network_3GDisableGobiWhileConnecting
+tests_network_3GDormancyDance
+tests_network_3GGobiPorts
+tests_network_3GFailedConnect
+tests_network_3GModemControl
+tests_network_3GModemPresent
+tests_network_3GNoGobi
+tests_network_3GRecoverFromGobiDesync
+tests_network_3GSafetyDance
+tests_network_3GSmokeTest
+tests_network_3GStressEnable
+tests_network_SwitchCarrier
+tests_network_ConnmanCromoCrash
+tests_network_ConnmanIncludeExcludeMultiple
+tests_network_ConnmanPowerStateTracking
+tests_network_DhcpNegotiationSuccess
+tests_network_DhcpRenew
+tests_network_DisableInterface
+tests_network_EthCaps
+tests_network_EthernetStressPlug
+tests_network_GobiUncleanDisconnect
+tests_network_LockedSIM
+tests_network_ModemManagerSMS
+tests_network_ModemManagerSMSSignal
+tests_network_NegotiatedLANSpeed
+tests_network_Ping
+tests_network_Portal
+tests_network_UdevRename
+tests_network_WiFiCaps
+tests_network_WiFiSmokeTest
+tests_network_WifiAuthenticationTests
+tests_network_WlanHasIP
+tests_network_netperf2
+tests_platform_AccurateTime
+tests_platform_AesThroughput
+tests_platform_Attestation
+tests_platform_BootPerf
+tests_platform_CheckErrorsInLog
+tests_platform_CleanShutdown
+tests_platform_CompressedSwap
+tests_platform_CrosDisksArchive
+tests_platform_CrosDisksDBus
+tests_platform_CrosDisksFilesystem
+tests_platform_CrosDisksFormat
+tests_platform_CryptohomeBadPerms
+tests_platform_CryptohomeChangePassword
+tests_platform_CryptohomeFio
+tests_platform_CryptohomeMount
+tests_platform_CryptohomeMultiple
+tests_platform_CryptohomeNonDirs
+tests_platform_CryptohomeStress
+tests_platform_CryptohomeTestAuth
+tests_platform_DaemonsRespawn
+tests_platform_DebugDaemonGetModemStatus
+tests_platform_DebugDaemonGetNetworkStatus
+tests_platform_DebugDaemonGetRoutes
+tests_platform_DebugDaemonPing
+tests_platform_DebugDaemonTracePath
+tests_platform_DMVerityBitCorruption
+tests_platform_DMVerityCorruption
+tests_platform_EncryptedStateful
+tests_platform_EvdevSynDropTest
+tests_platform_ExternalUSBBootStress
+tests_platform_ExternalUSBStress
+tests_platform_FileNum
+tests_platform_FilePerms
+tests_platform_FileSize
+tests_platform_HighResTimers
+tests_platform_KernelVersion
+tests_platform_LibCBench
+tests_platform_MemCheck
+tests_platform_NetParms
+tests_platform_OSLimits
+tests_platform_PartitionCheck
+tests_platform_Pkcs11InitUnderErrors
+tests_platform_Pkcs11ChangeAuthData
+tests_platform_Pkcs11Events
+tests_platform_Pkcs11LoadPerf
+tests_platform_Rootdev
+tests_platform_RootPartitionsNotMounted
+tests_platform_SessionManagerTerm
+tests_platform_Shutdown
+tests_platform_SuspendStress
+tests_platform_TempFS
+tests_platform_TLSDate
+tests_platform_ToolchainOptions
+tests_platform_TouchpadSynDrop
+tests_platform_TPMEvict
+tests_power_ARMSettings
+tests_power_Backlight
+tests_power_BacklightControl
+tests_power_BacklightSuspend
+tests_power_BatteryCharge
+tests_power_CameraSuspend
+tests_power_CPUFreq
+tests_power_CPUIdle
+tests_power_Draw
+tests_power_HotCPUSuspend
+tests_power_KernelSuspend
+tests_power_MemorySuspend
+tests_power_NoConsoleSuspend
+tests_power_ProbeDriver
+tests_power_Resume
+tests_power_Standby
+tests_power_StatsCPUFreq
+tests_power_StatsCPUIdle
+tests_power_StatsUSB
+tests_power_Status
+tests_power_SuspendResume
+tests_power_SuspendShutdown
+tests_power_WakeupRTC
+tests_power_x86Settings
+tests_realtimecomm_GTalkAudioBench
+tests_realtimecomm_GTalkLmiCamera
+tests_realtimecomm_GTalkunittest
+tests_security_AccountsBaseline
+tests_security_ASLR
+tests_security_ChromiumOSLSM
+tests_security_DbusMap
+tests_security_DbusOwners
+tests_security_Firewall
+tests_security_HardlinkRestrictions
+tests_security_HciconfigDefaultSettings
+tests_security_HtpdateHTTP
+tests_security_Minijail_seccomp
+tests_security_Minijail0
+tests_security_ModuleLocking
+tests_security_OpenFDs
+tests_security_OpenSSLBlacklist
+tests_security_OpenSSLRegressions
+tests_security_ProtocolFamilies
+tests_security_ptraceRestrictions
+tests_security_ReservedPrivileges
+tests_security_RestartJob
+tests_security_RootCA
+tests_security_RootfsOwners
+tests_security_RootfsStatefulSymlinks
+tests_security_RuntimeExecStack
+tests_security_SandboxedServices
+tests_security_SeccompSyscallFilters
+tests_security_SMMLocked
+tests_security_StatefulPermissions
+tests_security_SuidBinaries
+tests_security_SymlinkRestrictions
+tests_security_SysVIPC
+tests_suite_HWConfig
+tests_suite_HWQual
+test_Recall
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,316 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon autotest
DESCRIPTION="Autotest tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
IUSE="+autox +xset +tpmtools hardened"
# Enable autotest by default.
IUSE="${IUSE} +autotest"
# TODO(snanda): Remove xset dependence once power_LoadTest is switched over
# to use power manager
# TODO(semenzato): tpm-tools is included for hardware_TpmFirmware (and at this
# time only one binary is used, tpm_takeownership). Once we have a testing
# image, a better way would be to add tpm-tools to the image.
#
# pygtk is used only in the following:
# desktopui_ImeTest
# desktopui_ImeLogin
# pygobject is used only in the following:
# desktopui_ScreenLocker
# hardware_BluetoothSemiAuto
# network_3GActivate
# network_3GDormancyDance
# network_3GFailedConnect
# network_3GRecoverFromGobiDesync
# network_3GSafetyDance
# network_3GSmokeTest
# network_3GStressEnable
# network_WiFiSmokeTest
# network_WifiAuthenticationTests
RDEPEND="
chromeos-base/autotest-deps
chromeos-base/autotest-deps-glbench
chromeos-base/autotest-deps-glmark2
chromeos-base/autotest-deps-iotools
chromeos-base/autotest-deps-libaio
chromeos-base/autotest-deps-piglit
chromeos-base/flimflam-test
autox? ( chromeos-base/autox )
dev-python/numpy
dev-python/pygobject
dev-python/pygtk
xset? ( x11-apps/xset )
tpmtools? ( app-crypt/tpm-tools )
"
RDEPEND="${RDEPEND}
tests_platform_RootPartitionsNotMounted? ( sys-apps/rootdev )
tests_platform_RootPartitionsNotMounted? ( virtual/udev )
tests_hardware_TPMFirmware? ( chromeos-base/tpm_lite )
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
+tests_compilebench
+tests_crashme
+tests_dbench
+tests_ddtest
+tests_disktest
+tests_fsx
+tests_hackbench
+tests_iperf
+tests_bonnie
+tests_iozone
+tests_netperf2
+tests_netpipe
+tests_scrashme
+tests_sound_infrastructure
+tests_sleeptest
+tests_unixbench
+tests_audiovideo_CRASFormatConversion
+tests_audiovideo_LineOutToMicInLoopback
+tests_audiovideo_LoopbackLatency
+tests_audiovideo_Microphone
+tests_audiovideo_V4L2
+tests_cellular_Smoke
+tests_cellular_ThroughputController
+tests_cellular_Throughput
+tests_build_RootFilesystemSize
+tests_desktopui_FontCache
+tests_desktopui_GTK2Config
+tests_desktopui_HangDetector
+tests_desktopui_ImeLogin
+tests_desktopui_KillRestart
+tests_desktopui_SpeechSynthesisSemiAuto
tests_example_UnitTest
+tests_example_CrosTest
+tests_graphics_GLBench
+tests_graphics_GLMark2
+tests_graphics_KernelMemory
+tests_graphics_LibDRM
+tests_graphics_SyncControlTest
+tests_firmware_RomSize
tests_firmware_VbootCrypto
+tests_hardware_Ath3k
+tests_hardware_Backlight
+tests_hardware_ch7036
+tests_hardware_Components
+tests_hardware_DeveloperRecovery
+tests_hardware_DiskSize
+tests_hardware_EC
+tests_hardware_EepromWriteProtect
+tests_hardware_GobiGPS
+tests_hardware_GPIOSwitches
+tests_hardware_GPS
+tests_hardware_I2CProbe
+tests_hardware_Interrupt
+tests_hardware_Keyboard
+tests_hardware_LightSensor
+tests_hardware_MemoryThroughput
+tests_hardware_MemoryTotalSize
+tests_hardware_MultiReader
+tests_hardware_RealtekCardReader
+tests_hardware_Resolution
+tests_hardware_SAT
+tests_hardware_SsdDetection
+tests_hardware_StorageFio
tests_hardware_TouchScreenPresent
+tests_hardware_TPMCheck
tests_hardware_TPMFirmware
+tests_hardware_Trackpad
+tests_hardware_VideoOutSemiAuto
+tests_hardware_Xrandr
+tests_hardware_bma150
+tests_kernel_Bootcache
+tests_kernel_ConfigVerify
+tests_kernel_CpufreqMinMax
+tests_kernel_fs_Inplace
+tests_kernel_fs_Punybench
+tests_kernel_Lmbench
+tests_kernel_LowMemNotify
+tests_kernel_PerfEventRename
+tests_kernel_SchedBandwith
+tests_kernel_TPMPing
+tests_kernel_HdParm
+tests_kernel_ProtocolCheck
+tests_logging_CrashSender
+tests_logging_CrashServices
+tests_logging_KernelCrash
+tests_logging_UserCrash
+tests_login_DBusCalls
+tests_login_SecondFactor
+tests_network_3GActivate
+tests_network_3GAssociation
+tests_network_3GDisableWhileConnecting
+tests_network_3GDisableGobiWhileConnecting
+tests_network_3GDormancyDance
+tests_network_3GGobiPorts
+tests_network_3GFailedConnect
+tests_network_3GModemControl
+tests_network_3GModemPresent
+tests_network_3GNoGobi
+tests_network_3GRecoverFromGobiDesync
+tests_network_3GSafetyDance
+tests_network_3GSmokeTest
+tests_network_3GStressEnable
+tests_network_SwitchCarrier
+tests_network_ConnmanCromoCrash
+tests_network_ConnmanIncludeExcludeMultiple
+tests_network_ConnmanPowerStateTracking
+tests_network_DhcpNegotiationSuccess
+tests_network_DhcpRenew
+tests_network_DisableInterface
+tests_network_EthCaps
+tests_network_EthernetStressPlug
+tests_network_GobiUncleanDisconnect
+tests_network_LockedSIM
+tests_network_ModemManagerSMS
+tests_network_ModemManagerSMSSignal
+tests_network_NegotiatedLANSpeed
+tests_network_Ping
+tests_network_Portal
+tests_network_UdevRename
+tests_network_WiFiCaps
+tests_network_WiFiSmokeTest
+tests_network_WifiAuthenticationTests
+tests_network_WlanHasIP
+tests_network_netperf2
+tests_platform_AccurateTime
+tests_platform_AesThroughput
+tests_platform_Attestation
+tests_platform_BootPerf
+tests_platform_CheckErrorsInLog
+tests_platform_CleanShutdown
+tests_platform_CompressedSwap
+tests_platform_CrosDisksArchive
+tests_platform_CrosDisksDBus
+tests_platform_CrosDisksFilesystem
+tests_platform_CrosDisksFormat
+tests_platform_CryptohomeBadPerms
+tests_platform_CryptohomeChangePassword
+tests_platform_CryptohomeFio
+tests_platform_CryptohomeMount
+tests_platform_CryptohomeMultiple
+tests_platform_CryptohomeNonDirs
+tests_platform_CryptohomeStress
+tests_platform_CryptohomeTestAuth
+tests_platform_DaemonsRespawn
+tests_platform_DebugDaemonGetModemStatus
+tests_platform_DebugDaemonGetNetworkStatus
+tests_platform_DebugDaemonGetRoutes
+tests_platform_DebugDaemonPing
+tests_platform_DebugDaemonTracePath
+tests_platform_DMVerityBitCorruption
+tests_platform_DMVerityCorruption
+tests_platform_EncryptedStateful
+tests_platform_EvdevSynDropTest
+tests_platform_ExternalUSBBootStress
+tests_platform_ExternalUSBStress
+tests_platform_FileNum
+tests_platform_FilePerms
+tests_platform_FileSize
+tests_platform_HighResTimers
+tests_platform_KernelVersion
+tests_platform_LibCBench
+tests_platform_MemCheck
+tests_platform_NetParms
+tests_platform_OSLimits
+tests_platform_PartitionCheck
+tests_platform_Pkcs11InitUnderErrors
+tests_platform_Pkcs11ChangeAuthData
+tests_platform_Pkcs11Events
+tests_platform_Pkcs11LoadPerf
+tests_platform_Rootdev
+tests_platform_RootPartitionsNotMounted
+tests_platform_SessionManagerTerm
+tests_platform_Shutdown
+tests_platform_SuspendStress
+tests_platform_TempFS
+tests_platform_TLSDate
+tests_platform_ToolchainOptions
+tests_platform_TouchpadSynDrop
+tests_platform_TPMEvict
+tests_power_ARMSettings
+tests_power_Backlight
+tests_power_BacklightControl
+tests_power_BacklightSuspend
+tests_power_BatteryCharge
+tests_power_CameraSuspend
+tests_power_CPUFreq
+tests_power_CPUIdle
+tests_power_Draw
+tests_power_HotCPUSuspend
+tests_power_KernelSuspend
+tests_power_MemorySuspend
+tests_power_NoConsoleSuspend
+tests_power_ProbeDriver
+tests_power_Resume
+tests_power_Standby
+tests_power_StatsCPUFreq
+tests_power_StatsCPUIdle
+tests_power_StatsUSB
+tests_power_Status
+tests_power_SuspendResume
+tests_power_SuspendShutdown
+tests_power_WakeupRTC
+tests_power_x86Settings
+tests_realtimecomm_GTalkAudioBench
+tests_realtimecomm_GTalkLmiCamera
+tests_realtimecomm_GTalkunittest
+tests_security_AccountsBaseline
+tests_security_ASLR
+tests_security_ChromiumOSLSM
+tests_security_DbusMap
+tests_security_DbusOwners
+tests_security_Firewall
+tests_security_HardlinkRestrictions
+tests_security_HciconfigDefaultSettings
+tests_security_HtpdateHTTP
+tests_security_Minijail_seccomp
+tests_security_Minijail0
+tests_security_ModuleLocking
+tests_security_OpenFDs
+tests_security_OpenSSLBlacklist
+tests_security_OpenSSLRegressions
+tests_security_ProtocolFamilies
+tests_security_ptraceRestrictions
+tests_security_ReservedPrivileges
+tests_security_RestartJob
+tests_security_RootCA
+tests_security_RootfsOwners
+tests_security_RootfsStatefulSymlinks
+tests_security_RuntimeExecStack
+tests_security_SandboxedServices
+tests_security_SeccompSyscallFilters
+tests_security_SMMLocked
+tests_security_StatefulPermissions
+tests_security_SuidBinaries
+tests_security_SymlinkRestrictions
+tests_security_SysVIPC
+tests_suite_HWConfig
+tests_suite_HWQual
+test_Recall
"
IUSE="${IUSE} ${IUSE_TESTS}"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
AUTOTEST_DEPS_LIST=""
AUTOTEST_CONFIG_LIST=""
AUTOTEST_PROFILERS_LIST=""
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"

View File

@ -1,99 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="c04bdd4a43f9a240961c8fb07afc1386fddb5826"
CROS_WORKON_TREE="fb8c4062f8c8ed9467124d53053e7c108d1eab34"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon
DESCRIPTION="Autotest scripts and tools"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
RDEPEND="
!<coreos-base/autotest-tests-0.0.1-r3291
"
# We don't want Python on the base image, however, there're several base
# chromeos dependent ebuilds that depend on this ebuild.
DEPEND="${RDEPEND}"
# Ensure the configures run by autotest pick up the right config.site
export CONFIG_SITE=/usr/share/config.site
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
# Block AFE runtime data and test data that is not useful here.
# Note - we specifically copy over all server-side tests until crosbug.com/35194
# is resolved.
CROS_WORKON_SUBDIR_BLACKLIST=( "packages" "results" "site-packages" "frontend/client/www" client/{tests,site_tests} )
AUTOTEST_WORK="${WORKDIR}/autotest-work"
src_prepare() {
mkdir -p "${AUTOTEST_WORK}/client"
mkdir -p "${AUTOTEST_WORK}/server"
cp -fpu "${S}"/client/* "${AUTOTEST_WORK}/client" &>/dev/null
cp -fpru "${S}"/client/{bin,common_lib,tools} "${AUTOTEST_WORK}/client"
cp -fpu "${S}"/server/* "${AUTOTEST_WORK}/server" &>/dev/null
cp -fpru "${S}"/server/{bin,control_segments,hosts,site_tests,tests} \
"${AUTOTEST_WORK}/server"
cp -fpru "${S}"/{conmux,tko,utils,site_utils,test_suites,frontend} "${AUTOTEST_WORK}"
# cros directory is not from autotest upstream but cros project specific.
cp -fpru "${S}"/client/cros "${AUTOTEST_WORK}/client"
cp -fpru "${S}"/server/cros "${AUTOTEST_WORK}/server"
# Pre-create test directories.
local test_dirs="
client/tests client/site_tests
client/config client/deps client/profilers
packages"
local dir
for dir in ${test_dirs}; do
mkdir "${AUTOTEST_WORK}/${dir}"
touch "${AUTOTEST_WORK}/${dir}"/.keep
done
sed "/^enable_server_prebuild/d" "${S}/global_config.ini" > \
"${AUTOTEST_WORK}/global_config.ini"
}
src_install() {
insinto /usr/local/autotest
doins -r "${AUTOTEST_WORK}"/*
# base __init__.py
touch "${D}"/usr/local/autotest/__init__.py
# TODO: This should be more selective
chmod -R a+x "${D}"/usr/local/autotest
# setup stuff needed for read/write operation
chmod a+wx "${D}/usr/local/autotest/packages"
dodir "/usr/local/autotest/client/packages"
chmod a+wx "${D}/usr/local/autotest/client/packages"
dodir "/usr/local/autotest/server/tmp"
chmod a+wx "${D}/usr/local/autotest/server/tmp"
# Set up symlinks so that debug info works for autotests.
dodir /usr/lib/debug/usr/local/autotest/
dosym client/site_tests /usr/lib/debug/usr/local/autotest/tests
}
# Packages client.
pkg_postinst() {
local root_autotest_dir="${ROOT}/usr/local/autotest"
flock "${root_autotest_dir}/packages" \
-c "python -B ${root_autotest_dir}/utils/packager.py \
-r ${root_autotest_dir}/packages --client upload"
}

View File

@ -1,100 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="c7ac01a3599f654ad88ae00d8bd880bc692a9eee"
CROS_WORKON_TREE="f78836ac9010462184bd88e7e1d87ea43af3c75b"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon
DESCRIPTION="Autotest scripts and tools"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 arm amd64"
RDEPEND="
!<chromeos-base/autotest-chrome-0.0.1-r1788
!<chromeos-base/autotest-tests-0.0.1-r3291
"
# We don't want Python on the base image, however, there're several base
# chromeos dependent ebuilds that depend on this ebuild.
DEPEND="${RDEPEND}"
# Ensure the configures run by autotest pick up the right config.site
export CONFIG_SITE=/usr/share/config.site
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
# Block AFE runtime data and test data that is not useful here.
# Note - we specifically copy over all server-side tests until crosbug.com/35194
# is resolved.
CROS_WORKON_SUBDIR_BLACKLIST=( "packages" "results" "site-packages" "frontend/client/www" client/{tests,site_tests} )
AUTOTEST_WORK="${WORKDIR}/autotest-work"
src_prepare() {
mkdir -p "${AUTOTEST_WORK}/client"
mkdir -p "${AUTOTEST_WORK}/server"
cp -fpu "${S}"/client/* "${AUTOTEST_WORK}/client" &>/dev/null
cp -fpru "${S}"/client/{bin,common_lib,tools} "${AUTOTEST_WORK}/client"
cp -fpu "${S}"/server/* "${AUTOTEST_WORK}/server" &>/dev/null
cp -fpru "${S}"/server/{bin,control_segments,hosts,site_tests,tests} \
"${AUTOTEST_WORK}/server"
cp -fpru "${S}"/{conmux,tko,utils,site_utils,test_suites,frontend} "${AUTOTEST_WORK}"
# cros directory is not from autotest upstream but cros project specific.
cp -fpru "${S}"/client/cros "${AUTOTEST_WORK}/client"
cp -fpru "${S}"/server/cros "${AUTOTEST_WORK}/server"
# Pre-create test directories.
local test_dirs="
client/tests client/site_tests
client/config client/deps client/profilers
packages"
local dir
for dir in ${test_dirs}; do
mkdir "${AUTOTEST_WORK}/${dir}"
touch "${AUTOTEST_WORK}/${dir}"/.keep
done
sed "/^enable_server_prebuild/d" "${S}/global_config.ini" > \
"${AUTOTEST_WORK}/global_config.ini"
}
src_install() {
insinto /usr/local/autotest
doins -r "${AUTOTEST_WORK}"/*
# base __init__.py
touch "${D}"/usr/local/autotest/__init__.py
# TODO: This should be more selective
chmod -R a+x "${D}"/usr/local/autotest
# setup stuff needed for read/write operation
chmod a+wx "${D}/usr/local/autotest/packages"
dodir "/usr/local/autotest/client/packages"
chmod a+wx "${D}/usr/local/autotest/client/packages"
dodir "/usr/local/autotest/server/tmp"
chmod a+wx "${D}/usr/local/autotest/server/tmp"
# Set up symlinks so that debug info works for autotests.
dodir /usr/lib/debug/usr/local/autotest/
dosym client/site_tests /usr/lib/debug/usr/local/autotest/tests
}
# Packages client.
pkg_postinst() {
local root_autotest_dir="${ROOT}/usr/local/autotest"
flock "${root_autotest_dir}/packages" \
-c "python -B ${root_autotest_dir}/utils/packager.py \
-r ${root_autotest_dir}/packages --client upload"
}

View File

@ -1,98 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
inherit toolchain-funcs flag-o-matic cros-workon
DESCRIPTION="Autotest scripts and tools"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~arm ~amd64"
RDEPEND="
!<chromeos-base/autotest-chrome-0.0.1-r1788
!<chromeos-base/autotest-tests-0.0.1-r3291
"
# We don't want Python on the base image, however, there're several base
# chromeos dependent ebuilds that depend on this ebuild.
DEPEND="${RDEPEND}"
# Ensure the configures run by autotest pick up the right config.site
export CONFIG_SITE=/usr/share/config.site
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
# Block AFE runtime data and test data that is not useful here.
# Note - we specifically copy over all server-side tests until crosbug.com/35194
# is resolved.
CROS_WORKON_SUBDIR_BLACKLIST=( "packages" "results" "site-packages" "frontend/client/www" client/{tests,site_tests} )
AUTOTEST_WORK="${WORKDIR}/autotest-work"
src_prepare() {
mkdir -p "${AUTOTEST_WORK}/client"
mkdir -p "${AUTOTEST_WORK}/server"
cp -fpu "${S}"/client/* "${AUTOTEST_WORK}/client" &>/dev/null
cp -fpru "${S}"/client/{bin,common_lib,tools} "${AUTOTEST_WORK}/client"
cp -fpu "${S}"/server/* "${AUTOTEST_WORK}/server" &>/dev/null
cp -fpru "${S}"/server/{bin,control_segments,hosts,site_tests,tests} \
"${AUTOTEST_WORK}/server"
cp -fpru "${S}"/{conmux,tko,utils,site_utils,test_suites,frontend} "${AUTOTEST_WORK}"
# cros directory is not from autotest upstream but cros project specific.
cp -fpru "${S}"/client/cros "${AUTOTEST_WORK}/client"
cp -fpru "${S}"/server/cros "${AUTOTEST_WORK}/server"
# Pre-create test directories.
local test_dirs="
client/tests client/site_tests
client/config client/deps client/profilers
packages"
local dir
for dir in ${test_dirs}; do
mkdir "${AUTOTEST_WORK}/${dir}"
touch "${AUTOTEST_WORK}/${dir}"/.keep
done
sed "/^enable_server_prebuild/d" "${S}/global_config.ini" > \
"${AUTOTEST_WORK}/global_config.ini"
}
src_install() {
insinto /usr/local/autotest
doins -r "${AUTOTEST_WORK}"/*
# base __init__.py
touch "${D}"/usr/local/autotest/__init__.py
# TODO: This should be more selective
chmod -R a+x "${D}"/usr/local/autotest
# setup stuff needed for read/write operation
chmod a+wx "${D}/usr/local/autotest/packages"
dodir "/usr/local/autotest/client/packages"
chmod a+wx "${D}/usr/local/autotest/client/packages"
dodir "/usr/local/autotest/server/tmp"
chmod a+wx "${D}/usr/local/autotest/server/tmp"
# Set up symlinks so that debug info works for autotests.
dodir /usr/lib/debug/usr/local/autotest/
dosym client/site_tests /usr/lib/debug/usr/local/autotest/tests
}
# Packages client.
pkg_postinst() {
local root_autotest_dir="${ROOT}/usr/local/autotest"
flock "${root_autotest_dir}/packages" \
-c "python -B ${root_autotest_dir}/utils/packager.py \
-r ${root_autotest_dir}/packages --client upload"
}

View File

@ -15,7 +15,7 @@ IUSE="bluetooth opengl X"
# developers want to use for development, test, or debug". This
# category is meant to include all developer use cases, including
# software test and debug, performance tuning, hardware validation,
# and debugging failures running autotest.
# and debugging failures.
#
# To protect developer images from changes in other ebuilds you
# should include any package with a user constituency, regardless of

View File

@ -1,56 +0,0 @@
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
#
# Original Author: The Chromium OS Authors <chromium-os-dev@chromium.org>
# Purpose: Eclass for handling autotest deps packages
#
EAPI=2
inherit autotest
AUTOTEST_CONFIG_LIST=""
AUTOTEST_DEPS_LIST=""
AUTOTEST_PROFILERS_LIST=""
#
# In order to build only deps (call their setup function), we need to have
# a test that calls their setup() in its own setup(). This is done by
# creating a "fake" test, prebuilding it, and then deleting it after install.
#
AUTOTEST_FORCE_TEST_LIST="myfaketest"
autotest-deponly_src_prepare() {
autotest_src_prepare
pushd "${AUTOTEST_WORKDIR}/client/site_tests/" 1> /dev/null || die
mkdir myfaketest
cd myfaketest
# NOTE: Here we create a fake test case, that does not do anything except for
# setup of all deps.
cat << ENDL > myfaketest.py
from autotest_lib.client.bin import test, utils
class myfaketest(test.test):
def setup(self):
ENDL
for item in ${AUTOTEST_DEPS_LIST}; do
echo " self.job.setup_dep(['${item}'])" >> myfaketest.py
done
chmod a+x myfaketest.py
popd 1> /dev/null
}
autotest-deponly_src_install() {
autotest_src_install
rm -rf ${D}/usr/local/autotest/client/site_tests/myfaketest || die
}
EXPORT_FUNCTIONS src_prepare src_install

View File

@ -1,443 +0,0 @@
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
#
# Original Author: The Chromium OS Authors <chromium-os-dev@chromium.org>
# Purpose: Eclass for handling autotest test packages
#
RDEPEND="( autotest? ( >=chromeos-base/autotest-0.0.1-r3 ) )"
IUSE="+buildcheck autotest opengles"
# Ensure the configures run by autotest pick up the right config.site
export CONFIG_SITE="/usr/share/config.site"
export AUTOTEST_WORKDIR="${WORKDIR}/autotest-work"
# @ECLASS-VARIABLE: AUTOTEST_CLIENT_*
# @DESCRIPTION:
# Location of the appropriate test directory inside ${S}
: ${AUTOTEST_CLIENT_TESTS:=client/tests}
: ${AUTOTEST_CLIENT_SITE_TESTS:=client/site_tests}
: ${AUTOTEST_CONFIG:=client/config}
: ${AUTOTEST_DEPS:=client/deps}
: ${AUTOTEST_PROFILERS:=client/profilers}
# @ECLASS-VARIABLE: AUTOTEST_*_LIST
# @DESCRIPTION:
# The list of deps/configs/profilers provided with this package
: ${AUTOTEST_CONFIG_LIST:=}
: ${AUTOTEST_DEPS_LIST:=}
: ${AUTOTEST_PROFILERS_LIST:=}
# @ECLASS-VARIABLE: AUTOTEST_FORCE_LIST
# @DESCRIPTION:
# Sometimes we just want to forget about useflags and build what's inside
: ${AUTOTEST_FORCE_TEST_LIST:=}
# @ECLASS-VARIABLE: AUTOTEST_FILE_MASK
# @DESCRIPTION:
# The list of 'find' expressions to find in the resulting image and delete
: ${AUTOTEST_FILE_MASK:=}
fast_cp() {
cp -l "$@" || cp "$@"
}
get_test_list() {
if [ -n "${AUTOTEST_FORCE_TEST_LIST}" ]; then
# list forced
echo "${AUTOTEST_FORCE_TEST_LIST}"
return
fi
# we cache the result of this operation in AUTOTEST_TESTS,
# because it's expensive and does not change over the course of one ebuild run
local result="${IUSE_TESTS[*]//[+-]tests_/}"
result="${result//tests_/}"
result=$(for test in ${result}; do use tests_${test} && echo -n "${test} "; done)
echo "${result}"
}
# Pythonify the list of packages by doing the equivalent of ','.join(args)
pythonify_test_list() {
local result=$(printf '%s,' "$@")
echo ${result%,}
}
# Create python package init files for top level test case dirs.
touch_init_py() {
local dirs=${1}
for base_dir in $dirs
do
local sub_dirs="$(find ${base_dir} -maxdepth 1 -type d)"
for sub_dir in ${sub_dirs}
do
touch ${sub_dir}/__init__.py
done
touch ${base_dir}/__init__.py
done
}
# Exports a CROS_WORKON_SUBDIRS_TO_COPY variable to ensure that only the
# necessary files will be copied. This cannot be applied globally, as some
# ebuilds may not have tests only.
autotest_restrict_workon_subdirs() {
CROS_WORKON_SUBDIRS_TO_COPY=()
local var
for var in AUTOTEST_{CLIENT,SERVER}_{TESTS,SITE_TESTS} \
AUTOTEST_{CONFIG,DEPS,PROFILERS}; do
CROS_WORKON_SUBDIRS_TO_COPY+=( ${!var} )
done
}
setup_cross_toolchain() {
tc-export CC CXX AR RANLIB LD NM STRIP PKG_CONFIG
export CCFLAGS="$CFLAGS"
# TODO(fes): Check for /etc/hardened for now instead of the hardened
# use flag because we aren't enabling hardened on the target board.
# Rather, right now we're using hardened only during toolchain compile.
# Various tests/etc. use %ebx in here, so we have to turn off PIE when
# using the hardened compiler
if use x86 ; then
if use hardened ; then
#CC="${CC} -nopie"
append-flags -nopie
fi
fi
}
create_autotest_workdir() {
local dst=${1}
# create a working enviroment for pre-building
ln -sf "${SYSROOT}"/usr/local/autotest/{conmux,tko,global_config.ini,shadow_config.ini} "${dst}"/
# NOTE: in order to make autotest not notice it's running from /usr/local/, we need
# to make sure the binaries are real, because they do the path magic
local root_path base_path
for base_path in utils server; do
root_path="${SYSROOT}/usr/local/autotest/${base_path}"
mkdir -p "${dst}/${base_path}"
for entry in $(ls "${root_path}"); do
# Take all important binaries from SYSROOT install, make a copy.
if [ -d "${root_path}/${entry}" ]; then
# Ignore anything that has already been put in place by
# something else. This will typically be server/{site_tests,tests}.
if ! [ -e "${dst}/${base_path}/${entry}" ]; then
ln -sf "${root_path}/${entry}" "${dst}/${base_path}/"
fi
else
cp -f ${root_path}/${entry} ${dst}/${base_path}/
fi
done
done
for base_path in client client/bin; do
root_path="${SYSROOT}/usr/local/autotest/${base_path}"
mkdir -p "${dst}/${base_path}"
# Skip bin, because it is processed separately, and test-provided dirs
# Also don't symlink to packages, because that kills the build
for entry in $(ls "${root_path}" | \
grep -v "\(bin\|tests\|site_tests\|config\|deps\|profilers\|packages\)$"); do
ln -sf "${root_path}/${entry}" "${dst}/${base_path}/"
done
done
# replace the important binaries with real copies
for base_path in autotest autotest_client; do
root_path="${SYSROOT}/usr/local/autotest/client/bin/${base_path}"
rm "${dst}/client/bin/${base_path}"
cp -f ${root_path} "${dst}/client/bin/${base_path}"
done
# Selectively pull in deps that are not provided by the current test package
for base_path in config deps profilers; do
for dir in "${SYSROOT}/usr/local/autotest/client/${base_path}"/*; do
if [ -d "${dir}" ] && \
! [ -d "${AUTOTEST_WORKDIR}/client/${base_path}/$(basename ${dir})" ]; then
# directory does not exist, create a symlink
ln -sf "${dir}" "${AUTOTEST_WORKDIR}/client/${base_path}/$(basename ${dir})"
fi
done
done
}
print_test_dirs() {
local testroot="${1}"
local ignore_test_contents="${2}"
pushd "${testroot}" 1> /dev/null
for test in *; do
if [ -d "${test}" ] && [ -n "${ignore_test_contents}" -o \
-f "${test}/${test}".py ]; then
echo "${test}"
fi
done
popd 1> /dev/null
}
# checks IUSE_TESTS and sees if at least one of these is enabled
are_we_used() {
if ! use autotest; then
# unused
return 1
fi
[ -n "$(get_test_list)" ] && return 0
# unused
return 1
}
autotest_src_prepare() {
are_we_used || return 0
einfo "Preparing tests"
# FIXME: These directories are needed, autotest quietly dies if
# they don't even exist. They may, however, stay empty.
mkdir -p "${AUTOTEST_WORKDIR}"/client/tests
mkdir -p "${AUTOTEST_WORKDIR}"/client/site_tests
mkdir -p "${AUTOTEST_WORKDIR}"/client/config
mkdir -p "${AUTOTEST_WORKDIR}"/client/deps
mkdir -p "${AUTOTEST_WORKDIR}"/client/profilers
TEST_LIST=$(get_test_list)
# Pull in the individual test cases.
for l1 in client server; do
for l2 in site_tests tests; do
# pick up the indicated location of test sources
eval srcdir=${WORKDIR}/${P}/\${AUTOTEST_${l1^^*}_${l2^^*}}
# test does have this directory
for test in ${TEST_LIST}; do
if [ -d "${srcdir}/${test}" ]; then
fast_cp -fpr "${srcdir}/${test}" "${AUTOTEST_WORKDIR}/${l1}/${l2}"/ || die
fi
done
done
done
# Pull in all the deps provided by this package, selectively.
for l2 in config deps profilers; do
# pick up the indicated location of test sources
eval srcdir=${WORKDIR}/${P}/\${AUTOTEST_${l2^^*}}
if [ -d "${srcdir}" ]; then # test does have this directory
pushd "${srcdir}" 1> /dev/null
eval deplist=\${AUTOTEST_${l2^^*}_LIST}
if [ "${deplist}" = "*" ]; then
fast_cp -fpr * "${AUTOTEST_WORKDIR}/client/${l2}"
else
for dir in ${deplist}; do
fast_cp -fpr "${dir}" "${AUTOTEST_WORKDIR}/client/${l2}"/ || die
done
fi
popd 1> /dev/null
fi
done
# FIXME: We'd like if this were not necessary, and autotest supported out-of-tree build
create_autotest_workdir "${AUTOTEST_WORKDIR}"
# Each test directory needs to be visited and have an __init__.py created.
# However, that only applies to the directories which have a main .py file.
pushd "${AUTOTEST_WORKDIR}" > /dev/null || die "AUTOTEST_WORKDIR does not exist?!"
for dir in client/tests client/site_tests; do
pushd "${dir}" > /dev/null || continue
for sub in *; do
[ -f "${sub}/${sub}.py" ] || continue
touch_init_py ${sub}
done
popd > /dev/null
done
popd > /dev/null
# Cleanup checked-in binaries that don't support the target architecture
[[ ${E_MACHINE} == "" ]] && return 0;
rm -fv $( scanelf -RmyBF%a "${AUTOTEST_WORKDIR}" | grep -v -e ^${E_MACHINE} )
}
autotest_src_compile() {
if ! are_we_used; then
ewarn "***************************************************************"
ewarn "* Not building any tests, because the requested list is empty *"
ewarn "***************************************************************"
return 0
fi
einfo "Compiling tests"
pushd "${AUTOTEST_WORKDIR}" 1> /dev/null
setup_cross_toolchain
if use opengles ; then
graphics_backend=OPENGLES
else
graphics_backend=OPENGL
fi
# HACK: Some of the autotests depend on SYSROOT being defined, and die
# a gruesome death if it isn't. But SYSROOT does not need to exist, for
# example on the host, it doesn't. Let's define a compatible variable
# here in case we have none.
export SYSROOT=${SYSROOT:-"/"}
# This only prints the tests that have the associated .py
# (and therefore a setup function)
local prebuild_test_dirs="
client/tests client/site_tests"
TESTS=$(\
for dir in ${prebuild_test_dirs}; do
print_test_dirs "${AUTOTEST_WORKDIR}/${dir}"
done | sort -u)
NR_TESTS=$(echo ${TESTS}|wc -w)
if ! [ "${NR_TESTS}" = "0" ]; then
einfo "Building tests (${NR_TESTS}):"
einfo "${TESTS}"
NORMAL=$(echo -e "\e[0m")
GREEN=$(echo -e "\e[1;32m")
RED=$(echo -e "\e[1;31m")
# Call autotest to prebuild all test cases.
# Parse output through a colorifying sed script
( GRAPHICS_BACKEND="$graphics_backend" LOGNAME=${SUDO_USER} \
client/bin/autotest_client --quiet \
--client_test_setup=$(pythonify_test_list ${TESTS}) \
|| ! use buildcheck || die "Tests failed to build."
) | sed -e "s/\(INFO:root:setup\)/${GREEN}* \1${NORMAL}/" \
-e "s/\(ERROR:root:\[.*\]\)/${RED}\1${NORMAL}/"
else
einfo "No tests to prebuild, skipping"
fi
# Cleanup some temp files after compiling
for mask in '*.[do]' '*.pyc' ${AUTOTEST_FILE_MASK}; do
einfo "Purging ${mask}"
find . -name "${mask}" -delete
done
popd 1> /dev/null
}
autotest_src_install() {
are_we_used || return 0
einfo "Installing tests"
# Install all test cases, after setup has been called on them.
# We install everything, because nothing else is copied into the
# testcase directories besides what this package provides.
local instdirs="
client/tests
client/site_tests"
for dir in ${instdirs}; do
[ -d "${AUTOTEST_WORKDIR}/${dir}" ] || continue
insinto /usr/local/autotest/$(dirname ${dir})
doins -r "${AUTOTEST_WORKDIR}/${dir}"
done
# Install the deps, configs, profilers.
# Difference from above is, we don't install the whole thing, just
# the stuff provided by this package, by looking at AUTOTEST_*_LIST.
instdirs="
config
deps
profilers"
for dir in ${instdirs}; do
[ -d "${AUTOTEST_WORKDIR}/client/${dir}" ] || continue
insinto /usr/local/autotest/client/${dir}
eval provided=\${AUTOTEST_${dir^^*}_LIST}
# * means provided all, figure out the list from ${S}
if [ "${provided}" = "*" ]; then
if eval pushd "${WORKDIR}/${P}/\${AUTOTEST_${dir^^*}}" &> /dev/null; then
provided=$(ls)
popd 1> /dev/null
else
provided=""
fi
fi
for item in ${provided}; do
doins -r "${AUTOTEST_WORKDIR}/client/${dir}/${item}"
done
done
# TODO: Not all needs to be executable, but it's hard to pick selectively.
# The source repo should already contain stuff with the right permissions.
chmod -R a+x "${D}"/usr/local/autotest/*
}
autotest_pkg_postinst() {
are_we_used || return 0
local root_autotest_dir="${ROOT}/usr/local/autotest"
local path_to_image="${D}/usr/local/autotest"
# Should only happen when running emerge on a DUT.
if [ ! -d "${root_autotest_dir}" ]; then
einfo "Skipping packaging as no autotest installation detected."
return 0
fi
# Gather the artifacts we want autotest to package.
local test_opt dep_opt prof_opt
# Only client tests can be packaged.
local tests_to_package_dirs="client/tests client/site_tests"
local client_tests=$(\
for dir in ${tests_to_package_dirs}; do
print_test_dirs "${path_to_image}/${dir}" yes
done | sort -u)
if [ -n "${client_tests}" ] && [ "${client_tests}" != "myfaketest" ]; then
# Check for test_count. The packager performs poorly when
# too many arguments are specified vs. --all. This should be fixed in
# autotest (crosbug.com/28173).
test_count=$(echo ${client_tests} | wc -w)
if [ ${test_count} -gt 10 ]; then
test_opt="--all"
else
test_opt="--test=$(pythonify_test_list ${client_tests})"
fi
fi
if [ "{test_opt}" != "--all" ]; then
if [ -n "${AUTOTEST_DEPS_LIST}" ]; then
dep_opt="--dep=$(pythonify_test_list ${AUTOTEST_DEPS_LIST})"
fi
# For *, we must generate the list of profilers.
if [ "${AUTOTEST_PROFILERS_LIST}" = "*" ]; then
AUTOTEST_PROFILERS_LIST=$(\
print_test_dirs "${path_to_image}/client/profilers" yes | sort -u)
prof_opt="--profiler=$(pythonify_test_list ${AUTOTEST_PROFILERS_LIST})"
fi
fi
if [ -n "${test_opt}" -o -n "${dep_opt}" -o -n "${prof_opt}" ]; then
einfo "Running packager with options ${test_opt} ${dep_opt} ${prof_opt}"
flock "${root_autotest_dir}/packages" \
-c "python -B ${root_autotest_dir}/utils/packager.py \
-r ${root_autotest_dir}/packages \
${test_opt} ${dep_opt} ${prof_opt} upload"
else
einfo "Packager not run as nothing was found to package."
fi
}
if [[ "${CROS_WORKON_PROJECT}" == "chromiumos/third_party/autotest" ]]; then
# Using main autotest repo. Automatically restricting checkout.
# Note that this does not happen if the inherit is done prior to setting
# CROS_WORKON_* variables.
autotest_restrict_workon_subdirs
fi
EXPORT_FUNCTIONS src_compile src_prepare src_install pkg_postinst