gnu: librecast: Use test-target.

* gnu/packages/networking.scm (librecast)[arguments]: Set test-target.
Remove custom 'check phase.
This commit is contained in:
Efraim Flashner 2022-08-11 17:57:55 +03:00
parent b0f298e2c6
commit b62c3fbd77
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -486,6 +486,7 @@ (define-public librecast
(cc-for-target))
(string-append "PREFIX="
(assoc-ref %outputs "out"))))
#:test-target "test"
#:phases (modify-phases %standard-phases
(add-before 'check 'remove-network-tests
(lambda _
@ -504,10 +505,7 @@ (define-public librecast
(delete-file "./test/0000-0037.c")
(delete-file "./test/0000-0038.c")
(delete-file "./test/0000-0039.c")
(delete-file "./test/0000-0040.c")))
(replace 'check
(lambda _
(invoke "make" "test"))))))
(delete-file "./test/0000-0040.c"))))))
(inputs (list libsodium lcrq))
(synopsis "librecast IPv6 multicast library")
(description "Librecast is a C library which supports IPv6 multicast