From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF0F91382C5 for ; Sun, 7 Jun 2020 20:44:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED088E08A8; Sun, 7 Jun 2020 20:44:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFDFBE08A8 for ; Sun, 7 Jun 2020 20:44:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 771C634EEFB for ; Sun, 7 Jun 2020 20:44:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1CC01F9 for ; Sun, 7 Jun 2020 20:44:12 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1591562642.1e7781a07ed2ac8a4e66fb425f33d2dea72459e4.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/spire/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/spire/spire-0.10.0.ebuild X-VCS-Directories: app-misc/spire/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1e7781a07ed2ac8a4e66fb425f33d2dea72459e4 X-VCS-Branch: master Date: Sun, 7 Jun 2020 20:44:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68793599-3927-4b09-9485-7da3f5d4197b X-Archives-Hash: 77ba48e38881515b32f0d531425adeb4 commit: 1e7781a07ed2ac8a4e66fb425f33d2dea72459e4 Author: William Hubbs gentoo org> AuthorDate: Sun Jun 7 20:34:45 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Jun 7 20:44:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e7781a0 app-misc/spire: restrict tests for now I attempted to run tests, but they fail because of no "test files". I will look at re-enabling them later. Closes: https://bugs.gentoo.org/722332 Signed-off-by: William Hubbs gentoo.org> app-misc/spire/spire-0.10.0.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app-misc/spire/spire-0.10.0.ebuild b/app-misc/spire/spire-0.10.0.ebuild index 1e4f516c7b8..c55c76dc083 100644 --- a/app-misc/spire/spire-0.10.0.ebuild +++ b/app-misc/spire/spire-0.10.0.ebuild @@ -493,11 +493,17 @@ COMMON_DEPEND="acct-group/spire DEPEND="${COMMON_DEPEND}" RDEPEND="${COMMON_DEPEND}" +RESTRICT+=" test" + src_compile() { go build -o spire-agent ./cmd/spire-agent || die go build -o spire-server ./cmd/spire-server || die } +src_test() { + go test ./... || die "tests failed" +} + src_install() { exeinto /opt/spire doexe spire-agent spire-server