From b14b93621dfa17e043ad7a7eaf75d289b7a62044 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 2 Mar 2025 20:12:53 +0200 Subject: [PATCH] gnu: python-pytest-xprocess: Skip some tests on riscv64-linux. * gnu/packages/check.scm (python-pytest-xprocess)[arguments]: When building for riscv64-linux add some test-flags to skip some tests. Change-Id: Ie9712c660b774f67a48bfbc44ed08682ab3e2083 --- gnu/packages/check.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index c1d71498a0c05e0deb1ac5c0804f0f98623b9373..b54794a7663d9b37780220076d403153d83f2296 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2015, 2017 Cyril Roelandt ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2015 Andreas Enge -;;; Copyright © 2015, 2016, 2018-2024 Efraim Flashner +;;; Copyright © 2015, 2016, 2018-2025 Efraim Flashner ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016 Christine Lemmer-Webber ;;; Copyright © 2016, 2017 Danny Milosavljevic @@ -2757,6 +2757,15 @@ enables you to test server connections locally.") (sha256 (base32 "03y61h42sc343ddhsz7glxmv9ga83k4grrayfmbbrsl6fmip1qhm")))) (build-system pyproject-build-system) + (arguments + (if (target-riscv64?) + (list + #:test-flags + #~(list "-k" + ;; Unclear why these tests are failing on riscv64-linux. + (string-append "not test_startup_without_pattern" + " and not test_startup_with_pattern_and_callback"))) + '())) (native-inputs (list python-setuptools python-setuptools-scm