[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: dune-common: Skip tests that fail on aarch64-linux.
From: |
guix-commits |
Subject: |
02/07: gnu: dune-common: Skip tests that fail on aarch64-linux. |
Date: |
Thu, 4 May 2023 07:12:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 59640af1c5348bde628157d265c81f5f9a9bf19f
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Tue May 2 21:59:30 2023 +0200
gnu: dune-common: Skip tests that fail on aarch64-linux.
* gnu/packages/patches/dune-common-skip-failing-tests.patch: New file.
* gnu/packages/maths.scm (dune-common)[source]: Add it
* gnu/local.mk (dist_patch_DATA): Register it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/local.mk | 1 +
gnu/packages/maths.scm | 3 ++-
.../patches/dune-common-skip-failing-tests.patch | 28 ++++++++++++++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 4305bee89c..5f5de953d7 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1056,6 +1056,7 @@ dist_patch_DATA =
\
%D%/packages/patches/dovecot-trees-support-dovecot-2.3.patch \
%D%/packages/patches/dstat-fix-crash-when-specifying-delay.patch \
%D%/packages/patches/dstat-skip-devices-without-io.patch \
+ %D%/packages/patches/dune-common-skip-failing-tests.patch \
%D%/packages/patches/dune-grid-add-missing-include-cassert.patch \
%D%/packages/patches/dune-istl-fix-solver-playground.patch \
%D%/packages/patches/dvd+rw-tools-add-include.patch \
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d7e2719b70..1cf26927fa 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6805,7 +6805,8 @@ linear algebra primitives specifically targeting graph
analytics.")
version "/dune-common-" version ".tar.gz"))
(sha256
(base32
- "04pzk8q0bibci8z5xlwndhh3y3vs63mw7kad62lbzfwrr5121hrd"))))
+ "04pzk8q0bibci8z5xlwndhh3y3vs63mw7kad62lbzfwrr5121hrd"))
+ (patches (search-patches "dune-common-skip-failing-tests.patch"))))
(build-system cmake-build-system)
(arguments
`(#:phases
diff --git a/gnu/packages/patches/dune-common-skip-failing-tests.patch
b/gnu/packages/patches/dune-common-skip-failing-tests.patch
new file mode 100644
index 0000000000..7b0aa49d73
--- /dev/null
+++ b/gnu/packages/patches/dune-common-skip-failing-tests.patch
@@ -0,0 +1,28 @@
+Disable tests known to fail on AArch64:
+
+ https://gitlab.dune-project.org/core/dune-common/-/issues/262
+ https://issues.guix.gnu.org/62842
+
+--- a/dune/common/test/eigenvaluestest.cc
++++ b/dune/common/test/eigenvaluestest.cc
+@@ -340,20 +340,15 @@
+ testSymmetricFieldMatrix<double,200>();
+ testSymmetricFieldMatrix<float,4>();
+ testSymmetricFieldMatrix<float,200>();
+- testSymmetricFieldMatrix<long double,4>();
+- testSymmetricFieldMatrix<long double,200>();
+ #endif // HAVE_LAPACK
+
+ testSymmetricFieldMatrix<double,2>();
+ testSymmetricFieldMatrix<double,3>();
+ testSymmetricFieldMatrix<float,2>();
+ testSymmetricFieldMatrix<float,3>();
+- testSymmetricFieldMatrix<long double,2>();
+- testSymmetricFieldMatrix<long double,3>();
+
+ checkMultiplicity<double>();
+ checkMultiplicity<float>();
+- checkMultiplicity<long double>();
+
+ return 0;
+ }
- branch master updated (7a0a186a32 -> 916c6e5716), guix-commits, 2023/05/04
- 03/07: import: elpa: 'elpa->guix-package' accepts other keyword arguments., guix-commits, 2023/05/04
- 02/07: gnu: dune-common: Skip tests that fail on aarch64-linux.,
guix-commits <=
- 04/07: import: elpa: Use the expected repo in recursive imports., guix-commits, 2023/05/04
- 05/07: import: Cosmetic tweaks to 'recursive-import'., guix-commits, 2023/05/04
- 01/07: ftp-client: 'connect*' retries until the timeout has expired., guix-commits, 2023/05/04
- 06/07: import: elpa: Standardize warning message., guix-commits, 2023/05/04
- 07/07: profiles: 'texlive-font-maps' gracefully handles lack of texlive inputs., guix-commits, 2023/05/04