me
/
guix
Archived
1
0
Fork 0

gnu: rinutils: Respect #:tests?

* gnu/packages/games.scm (rinutils)[arguments]: Respect #:tests? in 'check.
master
Tobias Geerinckx-Rice 2022-01-04 15:44:42 +01:00
parent 8646f1f7a5
commit f7e6e93662
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 10 additions and 9 deletions

View File

@ -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.