From 839f16dbee6cd0a4511f0f40cc9edab857697f87 Mon Sep 17 00:00:00 2001 From: Fries Date: Mon, 24 Jul 2023 05:36:47 +0000 Subject: 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 --- gnu/packages/rust.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/rust.scm') 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 @@ (define rust-1.70 ;; 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 -- cgit v1.2.3