GNU bug report logs -
#30026
[PATCH] gnu: behave: Enable tests.
Previous Next
Reported by: Kei Kebreau <kkebreau <at> posteo.net>
Date: Mon, 8 Jan 2018 16:24:02 UTC
Severity: normal
Tags: patch
Done: Kei Kebreau <kkebreau <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 09 Jan 2018 11:44:15 -0500
with message-id <874lnvx9r4.fsf <at> posteo.net>
and subject line Re: [bug#30026] [PATCH] gnu: behave: Enable tests.
has caused the debbugs.gnu.org bug report #30026,
regarding [PATCH] gnu: behave: Enable tests.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
30026: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30026
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/check.scm (behave)[native-inputs]: Add python-mock, python-nose
and python-pyhamcrest.
[arguments]: Remove #:tests?. Add #:test-target.
---
gnu/packages/check.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 76fb1dc3f..50675cb85 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1549,12 +1549,16 @@ backported from Python 2.7 for Python 2.4+.")
(base32
"1iypp6z46r19n4xmgx6m1lwmlpfjh8vapq8izigrqlaarvp2y64c"))))
(build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)
+ ("python-pyhamcrest" ,python-pyhamcrest)))
(propagated-inputs
`(("python-six" ,python-six)
("python-parse" ,python-parse)
("python-parse-type" ,python-parse-type)))
- (arguments `(#:tests? #f)) ;TODO: tests require nose>=1.3 and
- ;PyHamcrest>=1.8
+ (arguments
+ '(#:test-target "behave_test"))
(home-page "https://github.com/behave/behave")
(synopsis "Python behavior-driven development")
(description
--
2.15.1
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:
> Kei Kebreau <kkebreau <at> posteo.net> writes:
>
>> * gnu/packages/check.scm (behave)[native-inputs]: Add python-mock, python-nose
>> and python-pyhamcrest.
>> [arguments]: Remove #:tests?. Add #:test-target.
>
> LGTM, thanks!
Pushed, thanks for reviewing!
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 7 years and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.