gnu: nzbget: Ignore failing tests.

* gnu/packages/networking.scm (nzbget)[arguments]<#:phases>:
Ignore a misconfigured test on aarch64.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Nicolas Graves 2024-10-20 17:42:27 +02:00 committed by Maxim Cournoyer
parent 4cb016fa0c
commit 700126f654
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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")