me
/
guix
Archived
1
0
Fork 0

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
Maxime Devos 2021-10-01 16:21:38 +02:00 committed by Mathieu Othacehe
parent d3d6e8b31a
commit a7bc1c8dd3
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 4 additions and 8 deletions

View File

@ -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