openexr: Disable known-broken tests on big-endian
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
ctestCheckHook,
|
||||
imath,
|
||||
libdeflate,
|
||||
pkg-config,
|
||||
@@ -50,6 +51,9 @@ stdenv.mkDerivation rec {
|
||||
imath
|
||||
libdeflate
|
||||
];
|
||||
nativeCheckInputs = [
|
||||
ctestCheckHook
|
||||
];
|
||||
|
||||
# Without 'sse' enforcement tests fail on i686 as due to excessive precision as:
|
||||
# error reading back channel B pixel 21,-76 got -nan expected -nan
|
||||
@@ -58,6 +62,24 @@ stdenv.mkDerivation rec {
|
||||
# https://github.com/AcademySoftwareFoundation/openexr/issues/1400
|
||||
doCheck = !stdenv.hostPlatform.isAarch32;
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isBigEndian [
|
||||
# https://github.com/AcademySoftwareFoundation/openexr/issues/1175
|
||||
# Not sure if these issues are specific to the tests, or if openexr in general is borked on big-endian.
|
||||
# Optimistically assuming the former here.
|
||||
"OpenEXRCore.testReadDeep"
|
||||
"OpenEXRCore.testDWATable"
|
||||
"OpenEXRCore.testDWAACompression"
|
||||
"OpenEXRCore.testDWABCompression"
|
||||
"OpenEXR.testAttributes"
|
||||
"OpenEXR.testCompression"
|
||||
"OpenEXR.testRgba"
|
||||
"OpenEXR.testCRgba"
|
||||
"OpenEXR.testRgbaThreading"
|
||||
"OpenEXR.testSampleImages"
|
||||
"OpenEXR.testSharedFrameBuffer"
|
||||
"OpenEXR.testTiledRgba"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit libjxl;
|
||||
musl = pkgsCross.musl64.openexr;
|
||||
|
||||
Reference in New Issue
Block a user