[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/276: gnu: rust: Add make-ignore-test-list function.
From: |
guix-commits |
Subject: |
03/276: gnu: rust: Add make-ignore-test-list function. |
Date: |
Wed, 18 Oct 2023 04:48:46 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 839f16dbee6cd0a4511f0f40cc9edab857697f87
Author: Fries <fries1234@protonmail.com>
AuthorDate: Mon Jul 24 05:36:47 2023 +0000
gnu: rust: Add make-ignore-test-list function.
A little helper function to make creating a list to ignore tests easier.
* gnu/packages/rust.scm (make-ignore-test-list): New function.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/rust.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index f0e921375b..d5481ced23 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -743,6 +743,12 @@ safety and thread safety guarantees.")
;; for a precompiled library.
(patches (search-patches "rust-1.70-fix-rustix-build.patch")))))))
+(define (make-ignore-test-list strs)
+ "Function to make creating a list to ignore tests a bit easier."
+ (map (lambda (str)
+ `((,str) (string-append "#[ignore]\n" ,str)))
+ strs))
+
;;; Note: Only the latest version of Rust is supported and tested. The
;;; intermediate rusts are built for bootstrapping purposes and should not
;;; be relied upon. This is to ease maintenance and reduce the time
- 05/276: gnu: rust-rustix-0.37: Remove precompiled files., (continued)
- 05/276: gnu: rust-rustix-0.37: Remove precompiled files., guix-commits, 2023/10/18
- 08/276: gnu: rust: Build more tools., guix-commits, 2023/10/18
- 10/276: gnu: Add rust-cairo-sys-rs-0.17., guix-commits, 2023/10/18
- 12/276: gnu: Add rust-gdk-pixbuf-sys-0.17., guix-commits, 2023/10/18
- 01/276: gnu: Add rust-1.69., guix-commits, 2023/10/18
- 04/276: gnu: rust: Update to 1.70.0., guix-commits, 2023/10/18
- 18/276: gnu: Add rust-cssparser-0.29., guix-commits, 2023/10/18
- 20/276: gnu: Add rust-cuda-std-0.2., guix-commits, 2023/10/18
- 21/276: gnu: Add rust-cust-derive-0.2., guix-commits, 2023/10/18
- 11/276: gnu: Add rust-gdk-pixbuf-0.17., guix-commits, 2023/10/18
- 03/276: gnu: rust: Add make-ignore-test-list function.,
guix-commits <=
- 06/276: build: cargo-build-system: Check for pregenerated files., guix-commits, 2023/10/18
- 07/276: gnu: rust-fd-lock-3: Update to 3.0.12., guix-commits, 2023/10/18
- 13/276: gnu: Add rust-gio-0.17., guix-commits, 2023/10/18
- 09/276: gnu: Add rust-cairo-rs-0.17., guix-commits, 2023/10/18
- 15/276: gnu: Add rust-pango-sys-0.17., guix-commits, 2023/10/18
- 16/276: gnu: Add rust-pangocairo-sys-0.17., guix-commits, 2023/10/18
- 17/276: gnu: Add rust-pangocairo-0.17., guix-commits, 2023/10/18
- 26/276: gnu: Add rust-float-eq-derive-1., guix-commits, 2023/10/18
- 28/276: gnu: Add rust-freetype-sys-0.17., guix-commits, 2023/10/18
- 02/276: gnu: Add rust-1.70., guix-commits, 2023/10/18