aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPicnoir <picnoir@alternativebit.fr>2024-06-04 14:34:05 +0200
committerChristopher Baines <mail@cbaines.net>2024-06-06 17:53:49 +0100
commitf430a1938818b8bb8cb575b575bf3f52b4413d0a (patch)
tree9e32ef58f9148dc4487a09fa253efd284be0eaa8 /gnu
parent1da1b42cace1bfd249f5360c308b0694dc50ce9a (diff)
downloadguix-f430a1938818b8bb8cb575b575bf3f52b4413d0a.tar
guix-f430a1938818b8bb8cb575b575bf3f52b4413d0a.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 47c280e79f..70b70fe395 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41043,7 +41043,29 @@ nitrokey-test crate.")
(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)