mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-07 05:30:38 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user