guix_mirror_bot pushed a commit to branch javascript-team in repository guix.
commit 0e9bd8c2999b07f8702aa82f146f5612f2be514a Author: Maxim Cournoyer <[email protected]> AuthorDate: Fri Sep 25 11:06:39 2026 +0900 gnu: ftest: Honor #:tests?. * gnu/packages/check.scm (ftest) [#:phases] {check}: Honor #:tests?. --- gnu/packages/check.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index b77bacb9c74..9d516292e31 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1038,11 +1038,12 @@ has been designed to be fast, light and unintrusive.") #:phases #~(modify-phases %standard-phases (add-before 'install 'check - (lambda _ - (with-directory-excursion "tests" - (invoke "cmake" ".") - (invoke "make") - (invoke "ctest"))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "cmake" ".") + (invoke "make") + (invoke "ctest")))))))) (native-inputs (list cmake-minimal)) (home-page "https://github.com/nemtrif/ftest") (synopsis "C++ testing framework")
