From: picnoir@alternativebit.fr
To: 71362@debbugs.gnu.org
Cc: Picnoir <picnoir@alternativebit.fr>,
Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#71362] [PATCH] gnu: rust-nix-0.28: fix package test.
Date: Tue, 4 Jun 2024 14:34:05 +0200 [thread overview]
Message-ID: <ce92f5432529cb7b18a2d36fe3e5cd2e2d8e715f.1717504445.git.picnoir@alternativebit.fr> (raw)
From: Picnoir <picnoir@alternativebit.fr>
This package was introduced as a dependency for Nsncd. The package
test suite is not run when building Nsncd, we did not realize it was
failing.
* gnu/packages/crates-io.scm (rust-nix-0.28): Fix test phase, enable all crate
for cargo test, disable failing tests.
Change-Id: Ice72d93b3a3f5f02640d2c1f90d745dc4b1a6550
---
gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5c9bc4c525..80d851a4cc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41048,7 +41048,30 @@ (define-public rust-nix-0.28
(base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ `(#:cargo-test-flags
+ '("--all-features"
+ "--"
+ ; The following tests do not seem to terminate
+ "--skip=test_unistd::test_execveat_empty::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_empty::test_cstring"
+ "--skip=test_unistd::test_execveat_relative::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_relative::test_cstring"
+ "--skip=test_unistd::test_fexecve::test_cstr_ref"
+ "--skip=test_unistd::test_fexecve::test_cstring"
+ ; The following tests are failing
+ "--skip=test_unistd::test_execve::test_cstr_ref"
+ "--skip=test_unistd::test_execve::test_cstring"
+ "--skip=test_unistd::test_execveat_absolute::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_absolute::test_cstring"
+ ; The following tests are panicking
+ "--skip=sys::personality::set"
+ "--skip=sys::socket::sendmsg"
+ "--skip=unistd::Group::from_gid"
+ "--skip=unistd::Group::from_name"
+ "--skip=unistd::User::from_name"
+ "--skip=unistd::User::from_uid"
+ )
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
("rust-libc" ,rust-libc-0.2.153)
base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d
prerequisite-patch-id: 6e77bad801c8584f6478c9c59038597dee857cde
--
2.41.0
next reply other threads:[~2024-06-04 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 12:34 picnoir [this message]
2024-06-06 19:53 ` bug#71362: [PATCH] gnu: rust-nix-0.28: fix package test Christopher Baines
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=ce92f5432529cb7b18a2d36fe3e5cd2e2d8e715f.1717504445.git.picnoir@alternativebit.fr \
--to=picnoir@alternativebit.fr \
--cc=71362@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.