openexr: increase test timeout

The test can easily time out on slower machines.
Tested on a pine64 star64.
This commit is contained in:
Francesco Gazzetta 2023-07-09 13:51:09 +02:00
parent 381f0e0c9a
commit f27695d7ba

View file

@ -41,11 +41,13 @@ stdenv.mkDerivation rec {
./gcc-13.patch
];
# tests are determined to use /var/tmp on unix
postPatch = ''
# tests are determined to use /var/tmp on unix
find . -name tmpDir.h | while read -r f ; do
substituteInPlace $f --replace '/var/tmp' "$TMPDIR"
done
# On slower machines this test can take more than the default 1500 seconds
echo 'set_tests_properties(OpenEXR.IlmImf PROPERTIES TIMEOUT 3000)' >> OpenEXR/IlmImfTest/CMakeLists.txt
'';
cmakeFlags = [