guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: librecast: Use test-target.


From: guix-commits
Subject: 02/04: gnu: librecast: Use test-target.
Date: Thu, 11 Aug 2022 12:37:39 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit b62c3fbd779a07a07d2ad3493580dd4fdb617f4d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Aug 11 17:57:55 2022 +0300

    gnu: librecast: Use test-target.
    
    * gnu/packages/networking.scm (librecast)[arguments]: Set test-target.
    Remove custom 'check phase.
---
 gnu/packages/networking.scm | 6 ++----
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]