On 31. 01. 21 16:44, Pavel Raiskup wrote:
There can be a macro that you would use like this:
--timeout %{adjust_timeout 3600}
Currently the environment (the copr-rpmbuild wrapper script) guards that mock
doesn't run longer than expected (it is not a mock built-in timeout).
Not saying it is not possible to do this in Copr, but it wouldn't be an easy
thing to implement. Much easier would be something like --timeout 3600
--timeout-armhfp=7200, or --timeout-forcearch=300%, or something alike.
To clarify, I'm talking about setting timeouts of individual jobs in the spec
file based on a macro value. Not about timeouts of copr builds.
E.g.
%check
%pytest --timeout %{adjust_timeout 300}
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx