emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71362: closed ([PATCH] gnu: rust-nix-0.28: fix package test.)


From: GNU bug Tracking System
Subject: bug#71362: closed ([PATCH] gnu: rust-nix-0.28: fix package test.)
Date: Thu, 06 Jun 2024 19:54:02 +0000

Your message dated Thu, 06 Jun 2024 20:53:02 +0100
with message-id <87ed99df1d.fsf@cbaines.net>
and subject line Re: [bug#71362] [PATCH] gnu: rust-nix-0.28: fix package test.
has caused the debbugs.gnu.org bug report #71362,
regarding [PATCH] gnu: rust-nix-0.28: fix package test.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
71362: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71362
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: rust-nix-0.28: fix package test. Date: Tue, 4 Jun 2024 14:34:05 +0200
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



--- End Message ---
--- Begin Message --- Subject: Re: [bug#71362] [PATCH] gnu: rust-nix-0.28: fix package test. Date: Thu, 06 Jun 2024 20:53:02 +0100 User-agent: mu4e 1.12.2; emacs 29.3
picnoir@alternativebit.fr writes:

> 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(-)

Thanks for the patch, I've pushed this to master as
f430a1938818b8bb8cb575b575bf3f52b4413d0a.

Chris

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]