gnu: libproxy: Respect #:tests?.
* gnu/packages/networking.scm (libproxy)[arguments]<#:phases>{check}: Don't run the tests if the value for #:tests? is false. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
d3d6e8b31a
commit
a7bc1c8dd3
|
@ -2251,16 +2251,12 @@ sockets in Perl.")
|
|||
`(("dbus" ,dbus)
|
||||
("zlib" ,zlib)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
;; TODO(core-updates): Make this unconditional.
|
||||
,(if (%current-target-system)
|
||||
'(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "ctest" "-E" "url-test")))
|
||||
'(lambda _
|
||||
(invoke "ctest" "-E" "url-test")))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "ctest" "-E" "url-test")))))))
|
||||
(synopsis "Library providing automatic proxy configuration management")
|
||||
(description "Libproxy handles the details of HTTP/HTTPS proxy
|
||||
configuration for applications across all scenarios. Applications using
|
||||
|
|
Reference in New Issue