| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| CROS_WORKON_COMMIT="7f9b91be4720de05d5edacf45cb9fc354276f557" |
| CROS_WORKON_TREE="5e1ee6ce4ed48a5878834b45a979c765e68944c4" |
| PYTHON_COMPAT=( python3_{6..9} ) |
| |
| CROS_WORKON_PROJECT="chromiumos/third_party/autotest" |
| CROS_WORKON_LOCALNAME="third_party/autotest/files" |
| |
| inherit cros-workon python-any-r1 |
| |
| DESCRIPTION="Compilation and runtime tests for toolchain" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/autotest/" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| |
| src_unpack() { |
| cros-workon_src_unpack |
| S+="/client/site_tests/platform_ToolchainTests/src" |
| } |
| |
| src_test() { |
| einfo "Testing llvm-profdata..." |
| "${FILESDIR}/llvm-profdata-test.py" || die |
| default |
| } |