Accepting request 750562 from home:StefanBruens:branches:graphics
- Fix build with older cmake package (Leap 15.0 up to 15.2), the included ctest macro does not accept extra parameters. OBS-URL: https://build.opensuse.org/request/show/750562 OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=43
This commit is contained in:
parent
b62ddc35fe
commit
a46d4d90b9
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 24 13:47:08 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Fix build with older cmake package (Leap 15.0 up to 15.2), the
|
||||||
|
included ctest macro does not accept extra parameters.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 14 17:57:37 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
Thu Nov 14 17:57:37 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
11
openexr.spec
11
openexr.spec
@ -149,10 +149,15 @@ popd
|
|||||||
%check
|
%check
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
pushd OpenEXR
|
pushd OpenEXR
|
||||||
# tests takes LOONG, e. g. 20 min, in obs even more that
|
|
||||||
# exceed timeout limit 25 min
|
|
||||||
export LD_LIBRARY_PATH="$PWD/build/IlmImf:$PWD/build/IlmImfUtil:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$PWD/build/IlmImf:$PWD/build/IlmImfUtil:$LD_LIBRARY_PATH"
|
||||||
%ctest --timeout 3000
|
# tests can take longer than the default timeout of 25 minutes
|
||||||
|
%if 0%{?suse_version} < 1550
|
||||||
|
# HACK - older versions of the ctest macro do not allow passing additional parameters
|
||||||
|
%global __ctest %{__ctest} --timeout 3600
|
||||||
|
%ctest
|
||||||
|
%else
|
||||||
|
%ctest --timeout 3600
|
||||||
|
%endif
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user