all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: 57931@debbugs.gnu.org
Cc: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Subject: [bug#57931] [PATCH v1 4/6] gnu: openexr: Skip failing tests on i686.
Date: Mon, 19 Sep 2022 12:56:14 +0200	[thread overview]
Message-ID: <20220919105616.9354-4-GNUtoo@cyberdimension.org> (raw)
In-Reply-To: <20220919105616.9354-1-GNUtoo@cyberdimension.org>

* gnu/packages/graphics.scm (openexr)[arguments]:
  Add phase to disable failing tests on i686.
---
 gnu/packages/graphics.scm | 45 ++++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 54ee3994e8..4ac7440976 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1131,16 +1131,41 @@ (define-public openexr
                 "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
     (build-system cmake-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
-                  ;; /var/tmp does not exist in the Guix build environment
-                  (add-after 'unpack 'patch-test-directory
-                    (lambda _
-                      (substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
-                                     "src/test/OpenEXRFuzzTest/tmpDir.h"
-                                     "src/test/OpenEXRTest/tmpDir.h"
-                                     "src/test/OpenEXRCoreTest/main.cpp")
-                        (("/var/tmp")
-                         "/tmp")))))))
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'patch-test-directory
+                          (lambda _
+                            (substitute* (list
+                                          "src/test/OpenEXRUtilTest/tmpDir.h"
+                                          "src/test/OpenEXRFuzzTest/tmpDir.h"
+                                          "src/test/OpenEXRTest/tmpDir.h"
+                                          "src/test/OpenEXRCoreTest/main.cpp")
+                              (("/var/tmp")
+                               "/tmp"))))
+                        #$@(if (not (target-64bit?))
+                               (list #~(add-after 'patch-test-directory
+                                                  'disable-broken-tests
+                                                  (lambda _
+                                                    (substitute*
+						     (list
+						      "src/test/OpenEXRCoreTest/main.cpp"
+						      "src/test/OpenEXRTest/main.cpp")
+                                                      (("TEST \\(testCompression, \"basic\"\\);")
+                                                       "")
+                                                      (("TEST\\( testNoCompression, \"core_compression\" \\);")
+                                                       "")
+                                                      (("TEST\\( testRLECompression, \"core_compression\" \\);")
+                                                       "")
+                                                      (("TEST\\( testZIPCompression, \"core_compression\" \\);")
+                                                       "")
+                                                      (("TEST\\( testZIPSCompression, \"core_compression\" \\);")
+                                                       "")
+                                                      (("TEST\\( testB44Compression, \"core_compression\" \\);")
+                                                       "")
+                                                      (("TEST\\( testB44ACompression, \"core_compression\" \\);")
+                                                       "")
+                                                      (("TEST \\(testOptimizedInterleavePatterns, \"basic\"\\);")
+                                                       "")))))
+                               (list)))))
     (inputs (list imath zlib))
     (home-page "https://www.openexr.com/")
     (synopsis "High-dynamic-range file format library")
-- 
2.37.3





  parent reply	other threads:[~2022-09-19 10:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19 10:49 [bug#57931] September 2022 i686 big breakage Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 1/6] gnu: directfb: Build with librsvg-for-system Denis 'GNUtoo' Carikli
2022-09-19 10:56   ` [bug#57931] [PATCH v1 2/6] gnu: gst-plugins-bad: " Denis 'GNUtoo' Carikli
2022-09-19 10:56   ` [bug#57931] [PATCH v1 3/6] gnu: openexr: apply guix style Denis 'GNUtoo' Carikli
2022-09-19 10:56   ` Denis 'GNUtoo' Carikli [this message]
2022-09-19 10:56   ` [bug#57931] [PATCH v1 5/6] gnu: gtk: Use librsvg-2.40 for non-x86_64 Denis 'GNUtoo' Carikli
2022-09-19 10:56   ` [bug#57931] [PATCH v1 6/6] gnu: gst-plugins-bad: remove svt-hevc for i686 Denis 'GNUtoo' Carikli
2022-09-19 14:05 ` [bug#57931] September 2022 i686 big breakage Denis 'GNUtoo' Carikli
2022-09-24 13:49 ` Denis 'GNUtoo' Carikli
2022-10-09 22:03 ` [bug#57931] i686 fixes patches duplication Denis 'GNUtoo' Carikli
2022-10-10  8:38   ` bug#57931: September 2022 i686 big breakage Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220919105616.9354-4-GNUtoo@cyberdimension.org \
    --to=gnutoo@cyberdimension.org \
    --cc=57931@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.