[lldb-dotest] Print dotest.py invocation.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Apr 2019 01:26:38 +0000 (01:26 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Apr 2019 01:26:38 +0000 (01:26 +0000)
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

lldb/utils/lldb-dotest/lldb-dotest.in

index 059be93..18a73ae 100755 (executable)
@@ -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))