[Lldb-commits] [PATCH] D13124: test runner: switch to pure-Python timeout mechanism

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 24 08:37:42 PDT 2015


labath added a comment.

I haven't followed the recent changes too closely, but at some point the hierarchy was:

  dosep.py
    dosep.py fork
      timeout
        dotest.py (lldb client)
          lldb-server
            inferior
          other executables which were sometimes spawned by the tests

Timeout was making sure none of its children survived after the test timed out. I don't know how it did that, but I presume it ran them in a separate process group. This was not always successful (some of our tests like to create process groups as well), but it was pretty good at compartmenalizing the tests and making sure we leave no processes hanging around.


http://reviews.llvm.org/D13124





More information about the lldb-commits mailing list