Message ID | 20220808190839.20727-2-paren@disroot.org |
---|---|
State | Accepted |
Headers | show |
Series | [bug#57060,v2,1/2] gnu: pcc: Fix build. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git-branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
> * gnu/packages/c.scm (pcc)[arguments]<#:phases>{check}: Respect the > `tests?` argument. Pushed both patches, thanks Maxime for reviewing. Mathieu
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 113a331070..39f048e993 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -197,8 +197,9 @@ (define-public pcc (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