[Lldb-commits] [lldb] r248282 - test runner: Unix systems now put inferior dotest in its own process group.
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 22 08:21:50 PDT 2015
Author: tfiala
Date: Tue Sep 22 10:21:50 2015
New Revision: 248282
URL: http://llvm.org/viewvc/llvm-project?rev=248282&view=rev
Log:
test runner: Unix systems now put inferior dotest in its own process group.
This increases isolation as it relates to signal handling between parent and
children.
Modified:
lldb/trunk/test/dosep.py
Modified: lldb/trunk/test/dosep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dosep.py?rev=248282&r1=248281&r2=248282&view=diff
==============================================================================
--- lldb/trunk/test/dosep.py (original)
+++ lldb/trunk/test/dosep.py Tue Sep 22 10:21:50 2015
@@ -198,7 +198,8 @@ def call_with_timeout(command, timeout,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
- close_fds=True)
+ close_fds=True,
+ preexec_fn=os.setsid)
else:
process = subprocess.Popen(command,
stdin=subprocess.PIPE,
More information about the lldb-commits
mailing list