public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
Date: Mon, 25 Sep 2023 04:23:32 +0000 (UTC)	[thread overview]
Message-ID: <1695615768.77f230894ecd7c4dd57e330d535d3e287b3a3513.sam@gentoo> (raw)

commit:     77f230894ecd7c4dd57e330d535d3e287b3a3513
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 04:22:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 04:22:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f23089

net-libs/rustls-ffi: consistently use 'cargo ctest'

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild | 9 ++++++++-
 net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild
index 283533602bf0..40dad3cb1c45 100644
--- a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild
+++ b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild
@@ -89,7 +89,14 @@ multilib_src_compile() {
 }
 
 multilib_src_test() {
-	cargo_src_test --target="$(rust_abi)"
+	local cargoargs=(
+		--prefix=/usr
+		--libdir="/usr/$(get_libdir)"
+		--target="$(rust_abi)"
+		$(usex debug '--debug' '--release')
+	)
+
+	cargo ctest "${cargoargs[@]}" || die "cargo ctest failed"
 }
 
 multilib_src_install() {

diff --git a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
index 729600d9b131..aef6d683129a 100644
--- a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
+++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
@@ -108,7 +108,14 @@ multilib_src_compile() {
 }
 
 multilib_src_test() {
-	cargo_src_test --target="$(rust_abi)"
+	local cargoargs=(
+		--prefix=/usr
+		--libdir="/usr/$(get_libdir)"
+		--target="$(rust_abi)"
+		$(usex debug '--debug' '--release')
+	)
+
+	cargo ctest "${cargoargs[@]}" || die "cargo ctest failed"
 }
 
 multilib_src_install() {


             reply	other threads:[~2023-09-25  4:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-25  4:23 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-30 14:42 [gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/ Sam James
2025-04-28  3:59 Matt Jolly
2025-04-28  3:59 Matt Jolly
2025-04-01 23:38 Matt Jolly
2024-11-09 13:10 Sam James
2024-11-09 13:00 Sam James
2024-11-08  4:07 Matt Jolly
2024-11-08  4:07 Matt Jolly
2024-11-08  3:49 Sam James
2024-11-08  3:47 Sam James
2024-04-20  4:42 Sam James
2024-04-20  4:42 Sam James
2024-04-01  3:46 Sam James
2024-03-28  0:45 Sam James
2024-03-28  0:45 Sam James
2023-09-25  4:05 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1695615768.77f230894ecd7c4dd57e330d535d3e287b3a3513.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox