diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2024-10-31 09:40:10 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2024-10-31 09:40:10 +0100 |
commit | b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4 (patch) | |
tree | 352e1b0abb31ff8e79bf789ebbb9d4fd36694e42 /app-admin | |
parent | dev-java/jansi: add 2.4.1 (diff) | |
download | gentoo-b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4.tar.gz gentoo-b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4.tar.bz2 gentoo-b71ba8f148f6a45767fb8ee9c8c7ebaccbc4d2e4.zip |
app-admin/hcloud: add upstream tests
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/hcloud/hcloud-1.48.0-r1.ebuild (renamed from app-admin/hcloud/hcloud-1.48.0.ebuild) | 8 |
1 files 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 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() { |