~ruther/guix-local

1be53ad1979a1c1da074d260adf376475250dc13 — Efraim Flashner 3 years ago 970247e
gnu: python-lit: Honor the #:tests? flag.

* gnu/packages/check.scm (python-lit)[arguments]: Honor the #:tests?
flag in the custom 'check phase.
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +3 -2
@@ 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/")