[Lldb-commits] [PATCH] 5 minute timeout for tests

Zachary Turner zturner at google.com
Thu Dec 4 11:46:29 PST 2014

I guess there's a possibility a test on Windows could return 124 and mean
something completely different than timeout.  Also 124 is a magic number
that people won't understand unless they check the man page for timeout and

Can you move the return code checking into the try_timeout function, and
then return an enum like eTimedOut, eFailed, eSucceeded?

Other than that, looks good.

On Thu Dec 04 2014 at 11:39:12 AM Chaoren Lin <chaorenl at google.com> wrote:

> Timeout if command exists.
> http://reviews.llvm.org/D6364
> Files:
>   test/dosep.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141204/97927a67/attachment.html>

More information about the lldb-commits mailing list