[Lldb-commits] [lldb] r357554 - [lldb-dotest] Print dotest.py invocation.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 2 18:26:39 PDT 2019
Author: jdevlieghere
Date: Tue Apr 2 18:26:38 2019
New Revision: 357554
URL: http://llvm.org/viewvc/llvm-project?rev=357554&view=rev
Log:
[lldb-dotest] Print dotest.py invocation.
In order to debug a failing python test, you need to debug Python
instead of the wrapper. For a while I've been adding and removing this,
but I think it could be useful for everyone.
Modified:
lldb/trunk/utils/lldb-dotest/lldb-dotest.in
Modified: lldb/trunk/utils/lldb-dotest/lldb-dotest.in
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/utils/lldb-dotest/lldb-dotest.in?rev=357554&r1=357553&r2=357554&view=diff
==============================================================================
--- lldb/trunk/utils/lldb-dotest/lldb-dotest.in (original)
+++ lldb/trunk/utils/lldb-dotest/lldb-dotest.in Tue Apr 2 18:26:38 2019
@@ -13,4 +13,5 @@ if __name__ == '__main__':
cmd.extend(dotest_args)
cmd.extend(wrapper_args)
# Invoke dotest.py and return exit code.
+ print(' '.join(cmd))
sys.exit(subprocess.call(cmd))
More information about the lldb-commits
mailing list