diff options
author | Leo Famulari <leo@famulari.name> | 2016-03-10 15:03:19 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2016-03-11 15:08:32 -0500 |
commit | bce6f7ce635a6ff16643d741b29b8b6ba3c83cc3 (patch) | |
tree | 5a0c0cd2e395ef3474a73e22f76ae20fad5a25cd /gnu/packages | |
parent | b5f990a68075a3dcc1e8198857f1ca04d9c73ad7 (diff) | |
download | patches-bce6f7ce635a6ff16643d741b29b8b6ba3c83cc3.tar patches-bce6f7ce635a6ff16643d741b29b8b6ba3c83cc3.tar.gz |
gnu: openexr: Disable broken test to fix build on i686.
* gnu/packages/graphics.scm (openexr)[arguments]: New field.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/graphics.scm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index c022d74ca2..6edba5025d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -206,6 +206,20 @@ exception-handling library.") "\"/tmp/\""))) (patches (list (search-patch "openexr-missing-samples.patch"))))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-broken-test + ;; This test fails on i686. Upstream developers suggest that + ;; this test is broken on i686 and can be safely disabled: + ;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748 + (lambda _ + (substitute* "IlmImfTest/main.cpp" + (("#include \"testOptimizedInterleavePatterns.h\"") + "//#include \"testOptimizedInterleavePatterns.h\"") + (("TEST \\(testOptimizedInterleavePatterns") + "//TEST (testOptimizedInterleavePatterns")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (propagated-inputs |