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>
This commit is contained in:
parent
299a223835
commit
839f16dbee
1 changed files with 6 additions and 0 deletions
|
@ -743,6 +743,12 @@ safety and thread safety guarantees.")
|
||||||
;; for a precompiled library.
|
;; for a precompiled library.
|
||||||
(patches (search-patches "rust-1.70-fix-rustix-build.patch")))))))
|
(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
|
;;; Note: Only the latest version of Rust is supported and tested. The
|
||||||
;;; intermediate rusts are built for bootstrapping purposes and should not
|
;;; intermediate rusts are built for bootstrapping purposes and should not
|
||||||
;;; be relied upon. This is to ease maintenance and reduce the time
|
;;; be relied upon. This is to ease maintenance and reduce the time
|
||||||
|
|
Reference in a new issue