~ruther/guix-local

09d64a7d62e63bf8aea371beb9a3666e0356ad5a — Efraim Flashner 1 year, 8 months ago 1c64418
gnu: python-h2: Skip a test on riscv64-linux.

* gnu/packages/python-web.scm (python-h2)[arguments]: When building for
riscv64-linux skip a test.

Change-Id: I1c359046580e5722568362d0954f13b5a2d82e49
1 files changed, 6 insertions(+), 2 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +6 -2
@@ 1,6 1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>


@@ 2481,7 2481,11 @@ and that could be anything you want.")
           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
             (when tests?
               (add-installed-pythonpath inputs outputs)
               (invoke "python" "-m" "pytest" "-vv" "test")))))))
               (invoke "python" "-m" "pytest" "-vv" "test"
                       ;; This test exceededs the Hypothesis deadline.
                       ,@(if (target-riscv64?)
                             `("-k" "not test_changing_max_frame_size")
                             '()))))))))
    (native-inputs
     (list python-hypothesis python-pytest))
    (propagated-inputs