[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: rust-dns-lookup-2: Fix package tests.
From: |
guix-commits |
Subject: |
06/06: gnu: rust-dns-lookup-2: Fix package tests. |
Date: |
Mon, 10 Jun 2024 06:09:49 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 7b0970fb4386726519204b74230b563ad060741b
Author: Picnoir <picnoir@alternativebit.fr>
AuthorDate: Tue Jun 4 14:06:56 2024 +0200
gnu: rust-dns-lookup-2: Fix package tests.
This package was introduced in abfef465b2b2353610cbff2caefee679566978f7 as a
dependency for Nsncd. We can build Nsncd just fine, but building explicitly
this package is failing. The issue comes from two tests making assumption
about domain name resolution. The Guix build sandbox breaks these
assumptions,
preventing the test suite to succeed. Fixing this by disabling the faulty
tests.
* gnu/packages/crates-io.scm (rust-dns-lookup-2): Skip faulty tests.
Change-Id: Idc42822d8cd72e83e9ea973820b5073ff87ad4d4
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/crates-io.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 70b70fe395..9fbe0e2a6a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19955,7 +19955,12 @@ not support network, only raw protocol parser.")
(base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ `(#:cargo-test-flags
+ '("--"
+ ;; the builder sandbox breaks getaddrinfo, failing two tests.
+ "--skip=nameinfo::test_getnameinfo"
+ "--skip=src/lib.rs")
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-socket2" ,rust-socket2-0.5)
("rust-windows-sys" ,rust-windows-sys-0.48))))
- branch master updated (0803f0d761 -> 7b0970fb43), guix-commits, 2024/06/10
- 01/06: gnu: python-project-metadata-0.7: Remove., guix-commits, 2024/06/10
- 03/06: gnu: go-gopkg-in-alecthomas-kingpin-v2: Match name with variable., guix-commits, 2024/06/10
- 05/06: gnu: nar-herder: Update to 0-35.76e3d60., guix-commits, 2024/06/10
- 02/06: gnu: onnx-optimizer-for-torch2: Hide package., guix-commits, 2024/06/10
- 04/06: gnu: guix-build-coordinator: Update to 0-107.4ccfaff., guix-commits, 2024/06/10
- 06/06: gnu: rust-dns-lookup-2: Fix package tests.,
guix-commits <=