diff options
-rw-r--r-- | net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild | 9 | ||||
-rw-r--r-- | 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() { |