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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96309158042 for ; Thu, 31 Oct 2024 08:40:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0239E0829; Thu, 31 Oct 2024 08:40:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B55BDE0829 for ; Thu, 31 Oct 2024 08:40:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CFD93430A5 for ; Thu, 31 Oct 2024 08:40:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D59D311DF for ; Thu, 31 Oct 2024 08:40:32 +0000 (UTC) From: "Agostino Sarubbo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" Message-ID: <1730364010.b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4.ago@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/hcloud/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/hcloud/hcloud-1.48.0-r1.ebuild app-admin/hcloud/hcloud-1.48.0.ebuild X-VCS-Directories: app-admin/hcloud/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4 X-VCS-Branch: master Date: Thu, 31 Oct 2024 08:40:32 +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: 636f53f5-0c95-44ec-bd89-d8cec48dffe6 X-Archives-Hash: 978432f5531cff8fc739f9e4ee875290 commit: b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Oct 31 08:40:10 2024 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Oct 31 08:40:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71ba8f1 app-admin/hcloud: add upstream tests Signed-off-by: Agostino Sarubbo gentoo.org> .../hcloud/{hcloud-1.48.0.ebuild => hcloud-1.48.0-r1.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app-admin/hcloud/hcloud-1.48.0.ebuild b/app-admin/hcloud/hcloud-1.48.0-r1.ebuild similarity index 71% rename from app-admin/hcloud/hcloud-1.48.0.ebuild rename to app-admin/hcloud/hcloud-1.48.0-r1.ebuild index c4449b25b091..49cedeae2460 100644 --- a/app-admin/hcloud/hcloud-1.48.0.ebuild +++ b/app-admin/hcloud/hcloud-1.48.0-r1.ebuild @@ -18,12 +18,16 @@ src_compile() { } src_test() { - # For upstream a simple test is run 'hcloud version' ./hcloud version if [[ $? -ne 0 ]] then - die "Test failed" + die "hcloud version test failed" fi + + # Avoid error like: + # -buildmode=pie not supported when -race is enabled on linux/amd64 + GOFLAGS=${GOFLAGS//-buildmode=pie} + ego test -coverpkg=./... -coverprofile=coverage.txt -v -race ./... } src_install() {