openexr_3: disable failing test on musl
This commit is contained in:
parent
8c297a3827
commit
fc2cabf2bf
2 changed files with 19 additions and 0 deletions
|
@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "bin" "dev" "out" "doc" ];
|
||||
|
||||
patches =
|
||||
# Disable broken test on musl libc
|
||||
# https://github.com/AcademySoftwareFoundation/openexr/issues/1556
|
||||
lib.optional stdenv.hostPlatform.isMusl ./disable-iex-test.patch
|
||||
;
|
||||
|
||||
# tests are determined to use /var/tmp on unix
|
||||
postPatch = ''
|
||||
cat <(find . -name tmpDir.h) <(echo src/test/OpenEXRCoreTest/main.cpp) | while read -r f ; do
|
||||
|
|
13
pkgs/development/libraries/openexr/disable-iex-test.patch
Normal file
13
pkgs/development/libraries/openexr/disable-iex-test.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
|
||||
index 44d9185d..8ffcd2b2 100644
|
||||
--- a/src/test/CMakeLists.txt
|
||||
+++ b/src/test/CMakeLists.txt
|
||||
@@ -4,7 +4,7 @@
|
||||
# We require this to get object library link library support and
|
||||
# combined python 2 + 3 support
|
||||
|
||||
-add_subdirectory(IexTest)
|
||||
+#add_subdirectory(IexTest)
|
||||
add_subdirectory(OpenEXRCoreTest)
|
||||
add_subdirectory(OpenEXRTest)
|
||||
add_subdirectory(OpenEXRUtilTest)
|
Loading…
Reference in a new issue