From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: 57060@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>
Subject: [bug#57060] [PATCH v2 2/2] gnu: pcc: Respect --without-tests.
Date: Mon, 8 Aug 2022 20:08:39 +0100 [thread overview]
Message-ID: <20220808190839.20727-2-paren@disroot.org> (raw)
In-Reply-To: <20220808190839.20727-1-paren@disroot.org>
* gnu/packages/c.scm (pcc)[arguments]<#:phases>{check}: Respect the
`tests?` argument.
---
gnu/packages/c.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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
--
2.37.1
next prev parent reply other threads:[~2022-08-08 19:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 16:35 [bug#57060] [PATCH] gnu: pcc: Fix build ( via Guix-patches via
2022-08-08 18:33 ` Maxime Devos
2022-08-08 18:53 ` ( via Guix-patches via
2022-08-08 19:08 ` [bug#57060] [PATCH v2 1/2] " ( via Guix-patches via
2022-08-08 19:08 ` ( via Guix-patches via [this message]
2022-08-11 8:29 ` bug#57060: [PATCH] " Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220808190839.20727-2-paren@disroot.org \
--to=guix-patches@gnu.org \
--cc=57060@debbugs.gnu.org \
--cc=paren@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).