gnu: rust-nix-0.28: Fix package build.

This package was introduced as a dependency for Nsncd. The package test suite
is not run when building Nsncd so 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
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Picnoir 2024-06-04 14:34:05 +02:00 committed by Christopher Baines
parent 1da1b42cac
commit f430a19388
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -41043,7 +41043,29 @@ (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)