gnu: tuir: Fix build.

* gnu/packages/syndication.scm (tuir): Fix build.
[arguments] <#:test-flags>: Disable tests that require
"/etc/ssl/certs/ca-certificates.crt" and networking.

Change-Id: I7c75e384c11300a3c4e339f8f00b7d07fd3ec07d
This commit is contained in:
Artyom V. Poptsov 2024-12-31 17:36:17 +03:00
parent 833fa80f17
commit cb96b84c0e
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -7,6 +7,7 @@
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2024 Luis Guilherme Coelho <lgcoelho@disroot.org>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -519,7 +520,16 @@ (define-public tuir
(build-system pyproject-build-system)
(arguments
(list #:test-flags
'(list "-k" "not test_content_humanize_timestamp")
;; Some tests require "/etc/ssl/certs/ca-certificates.crt" which is not
;; available during the tests; also likely those tests require networking.
#~(list "-k" (string-append "not test_content"
" and not test_inbox"
" and not test_mime_parsers"
" and not test_oauth"
" and not test_page"
" and not test_submission"
" and not test_subreddit"
" and not test_subscription"))
#:phases
#~(modify-phases %standard-phases
(delete 'sanity-check)))) ; Reads environment variables.