summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-08-11 17:57:55 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-08-11 19:35:22 +0300
commitb62c3fbd779a07a07d2ad3493580dd4fdb617f4d (patch)
tree1d2a092ea6fe18eb8af22aae94948a41a188913f
parentb0f298e2c656879cf68a8df5e820ab396e860a1d (diff)
downloadguix-b62c3fbd779a07a07d2ad3493580dd4fdb617f4d.tar.gz
gnu: librecast: Use test-target.
* gnu/packages/networking.scm (librecast)[arguments]: Set test-target.
Remove custom 'check phase.
-rw-r--r--gnu/packages/networking.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 392e28aad1..f4d2165c0f 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -486,6 +486,7 @@ GLib-based library, libnice, as well as GStreamer elements to use it.")
                                             (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 @@ GLib-based library, libnice, as well as GStreamer elements to use it.")
                       (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