[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Module suggestion: timeout
From: |
Simon Josefsson |
Subject: |
Re: Module suggestion: timeout |
Date: |
Fri, 30 Apr 2021 11:43:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com> writes:
> Moreover, use cases for a baked-in timeout are not restricted to tests. For
> example, I may want to restrict the build time of certain components in
> situations where a logical error may lead to infinite build times (a simple
> example is that of a Scheme compiler used as a build tool; thanks to
> Turing-completeness of Scheme macros, such a build may not terminate).
This makes me believe even stronger that the functionality ought to be
provided by automake natively -- it seems the desired functionality is
not only timeouts for self-tests but timeouts for all operations.
Implementing this for self-tests in automake would probably be quite
simple, but implementing it for all operations is probably more
complicated. Maybe it should be two separate features. I have wanted
timeouts for self-tests but rarely for building. If the second is more
complicated to implement, maybe starting with the first will be
sufficient and useful.
/Simon
signature.asc
Description: PGP signature