guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/12: gnu: rinutils: Respect #:tests?


From: guix-commits
Subject: 01/12: gnu: rinutils: Respect #:tests?
Date: Tue, 4 Jan 2022 23:46:17 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit f7e6e936624c495cf138d7fc03850a2e7f2b9467
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jan 4 15:44:42 2022 +0100

    gnu: rinutils: Respect #:tests?
    
    * gnu/packages/games.scm (rinutils)[arguments]: Respect #:tests? in 'check.
---
 gnu/packages/games.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5896fa4333..d884df588a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7530,15 +7530,16 @@ original.")
                                              (strip-store-file-name
                                               #$shlomif-cmake-modules)))))
                (replace 'check
-                 (lambda _
-                   (with-directory-excursion "../source"
-                     (setenv "FCS_TEST_BUILD" "1")
-                     (setenv "RINUTILS_TEST_BUILD" "1")
-                     ;; TODO: Run tests after setting RINUTILS_TEST_TIDY to 
`1',
-                     ;; which requires tidy-all.
-                     ;; (setenv "RINUTILS_TEST_TIDY" "1")
-                     (invoke "perl"
-                             
"CI-testing/continuous-integration-testing.pl")))))))
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (with-directory-excursion "../source"
+                       (setenv "FCS_TEST_BUILD" "1")
+                       (setenv "RINUTILS_TEST_BUILD" "1")
+                       ;; TODO: Run tests after setting RINUTILS_TEST_TIDY to 
`1',
+                       ;; which requires tidy-all.
+                       ;; (setenv "RINUTILS_TEST_TIDY" "1")
+                       (invoke "perl"
+                               
"CI-testing/continuous-integration-testing.pl"))))))))
     (native-inputs
      (list perl
            ;; The following are needed only for tests.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]