From: Jonas Devlieghere Date: Wed, 3 Apr 2019 01:26:38 +0000 (+0000) Subject: [lldb-dotest] Print dotest.py invocation. X-Git-Tag: llvmorg-10-init~8612 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ed7a95c9efb2409173d2a6318924b9bfa0ae734;p=platform%2Fupstream%2Fllvm.git [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. llvm-svn: 357554 --- diff --git a/lldb/utils/lldb-dotest/lldb-dotest.in b/lldb/utils/lldb-dotest/lldb-dotest.in index 059be93..18a73ae 100755 --- a/lldb/utils/lldb-dotest/lldb-dotest.in +++ b/lldb/utils/lldb-dotest/lldb-dotest.in @@ -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))