~ruther/guix-local

b14b93621dfa17e043ad7a7eaf75d289b7a62044 — Efraim Flashner 1 year, 8 months ago feba33d
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
1 files changed, 10 insertions(+), 1 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +10 -1
@@ 7,7 7,7 @@
;;; Copyright © 2015, 2017 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2018-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016, 2018-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>


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