gnu: python-lit: Honor the #:tests? flag.
* gnu/packages/check.scm (python-lit)[arguments]: Honor the #:tests? flag in the custom 'check phase.
This commit is contained in:
parent
970247e9f5
commit
1be53ad197
1 changed files with 3 additions and 2 deletions
|
@ -2360,8 +2360,9 @@ programs, something like CSmith, a random generator of C programs.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "python" "lit.py" "tests"))))))
|
(when tests?
|
||||||
|
(invoke "python" "lit.py" "tests")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list llvm-14))
|
(list llvm-14))
|
||||||
(home-page "https://llvm.org/")
|
(home-page "https://llvm.org/")
|
||||||
|
|
Reference in a new issue