[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: python-attrs: Remove test deadlines on riscv64-linux.
From: |
guix-commits |
Subject: |
01/09: gnu: python-attrs: Remove test deadlines on riscv64-linux. |
Date: |
Tue, 12 Jul 2022 10:41:48 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 908b680a5f213620c19c157223b45ccf3e534ade
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 12 12:35:56 2022 +0300
gnu: python-attrs: Remove test deadlines on riscv64-linux.
* gnu/packages/python-xyz.scm (python-attrs)[arguments]: When building
for riscv64-linux remove the hypothesis test deadlines.
---
gnu/packages/python-xyz.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c28b0675ad..f146746058 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19000,6 +19000,15 @@ from the header, as well as section details and data
available.")
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
+ ,@(if (target-riscv64?)
+ ;; TODO: Remove the conditional on staging.
+ `((add-after 'unpack 'remove-test-hypothesis-deadlines
+ (lambda _
+ (substitute* "tests/test_make.py"
+ (("assume, given") "assume, given, settings")
+ (("( +)@given" all spaces)
+ (string-append spaces
"@settings(deadline=None)\n" all))))))
+ '())
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- branch master updated (9173cb522d -> 094505d56c), guix-commits, 2022/07/12
- 09/09: gnu: numactl: Enable armhf-linux as a supported system., guix-commits, 2022/07/12
- 08/09: gnu: numactl: Fix building on riscv64-linux., guix-commits, 2022/07/12
- 06/09: gnu: bcachefs-tools: Enable tests., guix-commits, 2022/07/12
- 05/09: gnu: bcachefs-tools: Only build with valgrind on supported systems., guix-commits, 2022/07/12
- 03/09: gnu: python-tornado-6: Adjust test timeout., guix-commits, 2022/07/12
- 02/09: gnu: python-tornado-6: Honor tests flag., guix-commits, 2022/07/12
- 07/09: gnu: libratbag: Only build with valgrind on supported systems., guix-commits, 2022/07/12
- 04/09: gnu: sbcl: Fix building on armhf-linux., guix-commits, 2022/07/12
- 01/09: gnu: python-attrs: Remove test deadlines on riscv64-linux.,
guix-commits <=