guix_mirror_bot pushed a commit to branch javascript-team in repository guix.
commit 24f21972cae5603e30ac1bed991690c99558117a 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 2f85b4d03e4..b3ffe5d9531 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")
