From cb96b84c0edec0dd5ece774e1ee89f36103b4497 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Tue, 31 Dec 2024 17:36:17 +0300 Subject: [PATCH] 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 --- gnu/packages/syndication.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index faccc2129b..fdd67a8aa2 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2022 Liliana Marie Prikler ;;; Copyright © 2023 Maxim Cournoyer ;;; Copyright © 2024 Luis Guilherme Coelho +;;; Copyright © 2024 Artyom V. Poptsov ;;; ;;; 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.