blob: de929ec78b08a86ca6ee5820ada8381c94dac87a [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="4d78cd87e8ac3c9c89b057387ed692a0c7ffcb89"
CROS_WORKON_TREE="c011eb8f4fd0e9fe409c725b4ad6c6e5cfadf2ee"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest/files
inherit cros-workon
DESCRIPTION="Compilation and runtime tests for toolchain"
HOMEPAGE="http://www.chromium.org/"
LICENSE="BSD-Google"
SLOT=0
KEYWORDS="*"
src_unpack() {
cros-workon_src_unpack
S+="/client/site_tests/platform_ToolchainTests/src"
}
# cros-run-unit_tests checks the existence of src_test.
# Spell it explictly so that it will be tested.
# Temporarily disable this test while we are in the trasition of
# upgrade glibc. Re-enable this after glibc upgrade finishes.
src_test() {
if has_version '>=sys-libs/glibc-2.24'; then
default
else
return
fi
}