~ruther/guix-local

fba67be225e2c8d2f4fb6455042c84b18ad59b89 — ( 3 years ago dfda2cc
gnu: pcc: Respect --without-tests.

* gnu/packages/c.scm (pcc)[arguments]<#:phases>{check}: Respect the
  `tests?` argument.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/c.scm
M gnu/packages/c.scm => gnu/packages/c.scm +3 -2
@@ 197,8 197,9 @@ standard.")
                   (substitute* (list "cc/ccom/scan.l" "cc/cxxcom/scan.l")
                     (("lineno, ") ""))))
               (replace 'check
                 (lambda _
                   (invoke "make" "-C" "cc/cpp" "test"))))))
                 (lambda* (#:key tests? #:allow-other-keys)
                   (when tests?
                     (invoke "make" "-C" "cc/cpp" "test")))))))
    (native-inputs (list bison flex))
    (synopsis "Portable C compiler")
    (description