| # 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="3b51ee733120188bf88f6e057643eeaa2be7997f" |
| CROS_WORKON_TREE="fd1925b33eef83fefe6769699b5a61b66a94f6da" |
| 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 |
| } |