apteryx pushed a commit to branch master
in repository guix.

commit 700126f654cabba3ff902ac5d4072fb9365efea7
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 20 17:42:27 2024 +0200

    gnu: nzbget: Ignore failing tests.
    
    * gnu/packages/networking.scm (nzbget)[arguments]<#:phases>:
    Ignore a misconfigured test on aarch64.
    
    Signed-off-by: Maxim Cournoyer <[email protected]>
---
 gnu/packages/networking.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0ec11b5abb..f0f0619161 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2860,7 +2860,16 @@ gone wild and are suddenly taking up your bandwidth.")
         (base32 "13hakpkxqvqfjhk679l088209f54j7mqi3ifi820lyz6b1nvvj0r"))))
     (build-system cmake-build-system)
     (arguments
-     (list #:configure-flags '(list "-DENABLE_TESTS=1")))
+     (append (list #:configure-flags '(list "-DENABLE_TESTS=1"))
+             (if (string=? "aarch64-linux" (%current-system))
+                 (list #:phases
+                       #~(modify-phases %standard-phases
+                           (add-after 'unpack 'skip-failing-tests
+                             (lambda _
+                               (substitute* "tests/system/CMakeLists.txt"
+                                 (("(.*)SystemInfo.cpp" all)
+                                  (string-append "#" all)))))))
+                 '())))
     (inputs (list boost gnutls libxml2 ncurses openssl zlib))
     (native-inputs (list which))
     (home-page "https://github.com/nzbget/nzbget";)

Reply via email to