From ee981ba5f90bd3ba3f958cd0a2d08a68fd63ce7e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2022 18:04:33 +0300 Subject: gnu: lcsync: Use test-target. * gnu/packages/networking.scm (lcsync)[arguments]: Set test-target. Remove custom 'check phase. --- gnu/packages/networking.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index f4d2165c0f..8c5ef72f7f 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -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"))) -- cgit v1.2.3