[Lldb-commits] [PATCH] D18779: Fix dotest.py '-p' option for multi-process mode
Francis Ricci via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 4 17:41:32 PDT 2016
fjricci created this revision.
fjricci added reviewers: zturner, tfiala.
fjricci added subscribers: sas, lldb-commits.
The '-p' option for dotest.py was ignored in multiprocess mode,
as the -p argument to the inferior would overwrite the -p argument
passed on the command line.
http://reviews.llvm.org/D18779
Files:
packages/Python/lldbsuite/test/dosep.py
Index: packages/Python/lldbsuite/test/dosep.py
===================================================================
--- packages/Python/lldbsuite/test/dosep.py
+++ packages/Python/lldbsuite/test/dosep.py
@@ -420,6 +420,10 @@
results = []
for (base_name, full_test_path) in files:
import __main__ as main
+ global dotest_options
+ if dotest_options.p and not re.search(dotest_options.p, base_name):
+ continue
+
script_file = main.__file__
command = ([sys.executable, script_file] +
dotest_argv +
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18779.52645.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160405/2ccfec5a/attachment.bin>
More information about the lldb-commits
mailing list