[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: python-lit: Honor the #:tests? flag.
From: |
guix-commits |
Subject: |
02/06: gnu: python-lit: Honor the #:tests? flag. |
Date: |
Mon, 10 Apr 2023 10:02:30 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 1be53ad1979a1c1da074d260adf376475250dc13
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 10 16:50:15 2023 +0300
gnu: python-lit: Honor the #:tests? flag.
* gnu/packages/check.scm (python-lit)[arguments]: Honor the #:tests?
flag in the custom 'check phase.
---
gnu/packages/check.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 550dc44d2d..0ffd25e898 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2360,8 +2360,9 @@ programs, something like CSmith, a random generator of C
programs.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "python" "lit.py" "tests"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "lit.py" "tests")))))))
(native-inputs
(list llvm-14))
(home-page "https://llvm.org/")
- branch core-updates updated (2bde53c594 -> ae5d352534), guix-commits, 2023/04/10
- 01/06: gnu: python-lit: Update to 16.0.0., guix-commits, 2023/04/10
- 02/06: gnu: python-lit: Honor the #:tests? flag.,
guix-commits <=
- 03/06: gnu: Add gdc-toolchain-11., guix-commits, 2023/04/10
- 05/06: gnu: ldc: Build with newer llvm., guix-commits, 2023/04/10
- 04/06: gnu: gdmd: Build with gdc-11., guix-commits, 2023/04/10
- 06/06: gnu: inkscape: Fixup inputs., guix-commits, 2023/04/10