guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72071] [PATCH 2/2] Skip test_check_version since the patch-settings


From: Luca Cirrottola
Subject: [bug#72071] [PATCH 2/2] Skip test_check_version since the patch-settings phase needs to modify the test reference file.
Date: Mon, 29 Jul 2024 19:36:04 +0200

---
 gnu/packages/maths.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 8116569bca..4e69fb1eb9 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1728,7 +1728,12 @@ (define-public hdf5-1.8
              (substitute* "hl/fortran/src/Makefile.in"
                (("libhdf5hl_fortran_la_LDFLAGS =")
                 (string-append "libhdf5hl_fortran_la_LDFLAGS = -Wl,-rpath="
-                               (assoc-ref outputs "fortran") "/lib")))))
+                               (assoc-ref outputs "fortran") "/lib")))
+             ;; Skip test_check_version since the "patch-settings" phase
+             ;; will modify the test reference.
+             (substitute* "test/test_check_version.sh.in"
+              (("TESTING\\(\\).*" all)
+               (string-append all "\nSKIP; exit 0\n")))))
          (add-after 'configure 'patch-settings
            (lambda _
              ;; libhdf5.settings contains the full path of the
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]