gnu: lcsync: Use test-target.

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

View file

@ -295,6 +295,7 @@ (define-public lcsync
"SETCAP_PROGRAM=true"
(string-append "prefix="
(assoc-ref %outputs "out"))))
#:test-target "test"
#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure script
(add-before 'check 'remove-network-tests
@ -303,9 +304,6 @@ (define-public lcsync
(delete-file "./test/0000-0027.c")
(delete-file "./test/0000-0049.c")
(delete-file "./test/0000-0074.c")))
(replace 'check
(lambda _
(invoke "make" "test" "CC=gcc")))
(add-before 'build 'add-library-paths
(lambda* (#:key inputs #:allow-other-keys)
(let* ((librecast (assoc-ref inputs "librecast")))