[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/194: gnu: rust: Add make-ignore-test-list function.
From: |
guix-commits |
Subject: |
03/194: gnu: rust: Add make-ignore-test-list function. |
Date: |
Tue, 3 Oct 2023 14:57:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1201615a936f29170739fa9581b297c53f2ad9d1
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
- 06/194: build: cargo-build-system: Check for pregenerated files., (continued)
- 06/194: build: cargo-build-system: Check for pregenerated files., guix-commits, 2023/10/03
- 08/194: gnu: rust: Build more tools., guix-commits, 2023/10/03
- 05/194: gnu: rust-rustix-0.37: Remove precompiled files., guix-commits, 2023/10/03
- 04/194: gnu: rust: Update to 1.70.0., guix-commits, 2023/10/03
- 14/194: gnu: Add rust-pango-0.17., guix-commits, 2023/10/03
- 10/194: gnu: Add rust-cairo-sys-rs-0.17., guix-commits, 2023/10/03
- 17/194: gnu: Add rust-pangocairo-0.17., guix-commits, 2023/10/03
- 18/194: gnu: Add rust-cssparser-0.29., guix-commits, 2023/10/03
- 24/194: gnu: Add rust-data-url-0.2., guix-commits, 2023/10/03
- 26/194: gnu: Add rust-float-eq-derive-1., guix-commits, 2023/10/03
- 03/194: gnu: rust: Add make-ignore-test-list function.,
guix-commits <=
- 07/194: gnu: rust-fd-lock-3: Update to 3.0.12., guix-commits, 2023/10/03
- 09/194: gnu: Add rust-cairo-rs-0.17., guix-commits, 2023/10/03
- 13/194: gnu: Add rust-gio-0.17., guix-commits, 2023/10/03
- 16/194: gnu: Add rust-pangocairo-sys-0.17., guix-commits, 2023/10/03
- 12/194: gnu: Add rust-gdk-pixbuf-sys-0.17., guix-commits, 2023/10/03
- 15/194: gnu: Add rust-pango-sys-0.17., guix-commits, 2023/10/03
- 19/194: gnu: Add rust-cuda-std-macros-0.2., guix-commits, 2023/10/03
- 23/194: gnu: Add rust-dashmap-5., guix-commits, 2023/10/03
- 20/194: gnu: Add rust-cuda-std-0.2., guix-commits, 2023/10/03
- 25/194: gnu: rust-encoding-rs-0.8: Update to 0.8.33., guix-commits, 2023/10/03