bug#48113: Module suggestion: timeout

2021-06-21 Thread Karl Berry
Just to mention further evidence supporting Simon's final idea of "choosing the default timeout setting is difficult". This report recently came into bug-dejagnu precisely about different timeouts being needed on different systems: https://lists.gnu.org/archive/html/bug-dejagnu/2021-05/msg00011.h

bug#48113: Module suggestion: timeout

2021-05-02 Thread Simon Josefsson via Bug reports for Automake
severity 48113 wishlist retitle 48113 Self-test timeout functionality thanks Karl Berry writes: > What do bug-automake people think? > > For myself, I have no objection to sprinkling timeout commands through > the Automake test infrastructure wherever appropriate. It's not ever > going to ri

bug#48113: Module suggestion: timeout

2021-05-01 Thread Karl Berry
What do bug-automake people think? For myself, I have no objection to sprinkling timeout commands through the Automake test infrastructure wherever appropriate. It's not ever going to rise to the top of my own list of things to do, though, so if it's going to happen, you or someone will have t

bug#48113: Module suggestion: timeout

2021-04-30 Thread Marc Nieper-Wißkirchen
Adding timeout to all build operations automatically is probably too much and too intrusive. But in any case, it should be easy to add such a timeout to certain build operations (e.g. downloading, running a compiler for which the halting problem cannot be solved, testing a production binary, ...).

bug#48113: Module suggestion: timeout

2021-04-30 Thread Simon Josefsson via Bug reports for Automake
Marc Nieper-Wißkirchen 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 compil

bug#48113: Module suggestion: timeout

2021-04-30 Thread Marc Nieper-Wißkirchen
Dear Bruno, dear Simon, thank you for your replies. I understand that valgrind-tests and the proposed "timeout-tests" solution are not completely equivalent. Nevertheless, I still think that some timeout functionality provided by Gnulib would be useful. Bruno's solution ** #if HAVE_DECL_ALARM

bug#48113: Module suggestion: timeout

2021-04-30 Thread Simon Josefsson via Bug reports for Automake
Bruno Haible writes: > So, I don't think the "let's treat timeout like valgrind" approach is going > to work. Instead, you need to design a way to deal with timeouts, > independently. Hi! I think Marc's request for functionality to introduce timeouts for self-tests is a good one. However I re