[llvm-bugs] [Bug 25002] test runner timeout does not work properly when inferior itself spawns children and shares file handles

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 5 12:41:38 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25002

Todd Fiala <todd.fiala at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Todd Fiala <todd.fiala at gmail.com> ---
Getting this right causes some fair complication to the test runner logic.  I
think it is more fair to say:

If your test process (P1) creates new child processes (C1..CN), and you share
out your stdout/stderr to them, your test should expect to time out if you
don't ensure that  children C1..CN are cleaned up before P1 exits.

That, after all, is bad behavior.  I'm fine with our test system catching that
and flagging as a timeout.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151005/7d163fca/attachment.html>


More information about the llvm-bugs mailing list