[Dune-devel] cmake timouts

Ansgar Burchardt Ansgar.Burchardt at tu-dresden.de
Tue Dec 6 13:58:13 CET 2016


On Tue, 2016-12-06 at 13:26 +0100, Christian Engwer wrote:
> I think it is rather ugly to adjust the official repo to the local
> infrastructure, thus I was wondering, whether we can't introduce som
> local reference speed and the specify timeouts w.r.t. this speed.
> 
> I suggest to to add a cmake parameter which changes the reference
> time from 1s (default, so that everyting works as currently) to
> something other.

There is already a default timeout for tests in CMake (I think 1500s),
but DUNE overrides it and sets it always to 300s[1].  Besides making
this configurable, having the TIMEOUT override be specified as a
multiple of this would be more flexible, for example by using a
TIMEOUT_SCALE option.

I'm also not quite sure why one has to explicitly specify a TIMEOUT for
MPI tests given a default value exists?

Ansgar

  [1] https://gitlab.dune-project.org/core/dune-common/issues/56
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20161206/cf4c7552/attachment.sig>


More information about the Dune-devel mailing list