guix-commits
[Top][All Lists]
Advanced

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

04/30: gnu: quickjs: Honor the #:tests? flag.


From: guix-commits
Subject: 04/30: gnu: quickjs: Honor the #:tests? flag.
Date: Tue, 19 Mar 2024 07:12:02 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 8a4ed004d6b0720f47fc6ef5f0247a66a42a2f7c
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Mon Jul 17 12:10:57 2023 +0800

    gnu: quickjs: Honor the #:tests? flag.
    
    * gnu/packages/javascript.scm (quickjs)[arguments]: Adjust custom
    'check phase to honor the #:tests? flag.
    
    Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
    Change-Id: I686b3b9a615cbdaefaf59d9c1c0ba7628d7d92f2
---
 gnu/packages/javascript.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index a1c0d9ad01..c6e7443f85 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -843,8 +843,9 @@ roots, or wrestle with obscure build systems.")
            #:phases #~(modify-phases %standard-phases
                         (delete 'configure)
                         (replace 'check
-                          (lambda _
-                            (invoke "make" "microbench"))))))
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (invoke "make" "microbench")))))))
     (home-page "https://bellard.org/quickjs/";)
     (synopsis "Small embeddable Javascript engine")
     (description "QuickJS supports the ES2020 specification including modules,



reply via email to

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