mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
openexr: increase test timeout
The test can easily time out on slower machines. Tested on a pine64 star64.
This commit is contained in:
parent
381f0e0c9a
commit
f27695d7ba
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user