From: Vinicius Monego <monego@posteo.net>
To: 52857@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#52857] [PATCH 3/3] gnu: python-hy: Honor #:tests? flag.
Date: Tue, 28 Dec 2021 19:33:35 +0000 [thread overview]
Message-ID: <20211228193335.74580-3-monego@posteo.net> (raw)
In-Reply-To: <20211228193335.74580-1-monego@posteo.net>
* gnu/packages/python-xyz.scm (python-hy)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.
---
gnu/packages/python-xyz.scm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b651d2108..316549ecf1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13022,12 +13022,13 @@ with a new public API, and RPython support.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "python" "-m" "pytest" "-k"
- (string-append ; skip some failed tests
- "not test_bin_hy_sys_executable"
- " and not test_bin_hy_circular_macro_require"
- " and not test_macro_from_module")))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-k"
+ (string-append ; skip some failed tests
+ "not test_bin_hy_sys_executable"
+ " and not test_bin_hy_circular_macro_require"
+ " and not test_macro_from_module"))))))))
(native-inputs
(list python-pytest))
(propagated-inputs
--
2.30.2
next prev parent reply other threads:[~2021-12-28 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-28 19:32 [bug#52857] [PATCH 0/3] Fix build of python-funcparserlib and python-hy Vinicius Monego
2021-12-28 19:33 ` [bug#52857] [PATCH 1/3] gnu: python-funcparserlib: Update to 1.0.0a0 Vinicius Monego
2021-12-28 19:33 ` [bug#52857] [PATCH 2/3] gnu: python-hy: Update to 0.20.0 Vinicius Monego
2021-12-28 19:33 ` Vinicius Monego [this message]
2021-12-29 23:02 ` bug#52857: [PATCH 0/3] Fix build of python-funcparserlib and python-hy Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211228193335.74580-3-monego@posteo.net \
--to=monego@posteo.net \
--cc=52857@debbugs.gnu.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.