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))
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits