me
/
guix
Archived
1
0
Fork 0

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
master
Zheng Junjie 2023-07-17 12:10:57 +08:00 committed by 宋文武
parent efad468f6d
commit 8a4ed004d6
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 3 additions and 2 deletions

View File

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