z572 pushed a commit to branch master
in repository guix.
commit bfd5788003fc0e7fb69f596992e4736a77e857be
Author: Zheng Junjie <[email protected]>
AuthorDate: Mon Nov 4 16:39:46 2024 +0800
gnu: darkhttpd: Enable tests.
* gnu/packages/web.scm (darkhttpd)[arguments]: Set #:test-target "test"
[native-inputs]: Add which and python-minimal.
Change-Id: I9d9246109bba975d49f1e48f4c6d6e32d28a466c
---
gnu/packages/web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 73f41818de..31ea668606 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6431,13 +6431,14 @@ and similar services.")
(arguments
(list
#:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
- #:tests? #f ; No test suite
+ #:test-target "test"
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no configure script
(replace 'install
(lambda _
(install-file "darkhttpd" (string-append #$output "/bin")))))))
+ (native-inputs (list which python-minimal))
(synopsis "Simple static web server")
(description "darkhttpd is a simple static web server. It is
standalone and does not need inetd or ucspi-tcp. It does not need any