<div dir="ltr">Great!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 14, 2019 at 11:40 PM Pavel Labath via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org">lldb-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Author: labath<br>
Date: Thu Feb 14 23:41:17 2019<br>
New Revision: 354105<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=354105&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=354105&view=rev</a><br>
Log:<br>
Use sys.executable in lldb-dotest<br>
<br>
Without that, dotest.py would be executed with the default python<br>
interpreter, which may not be the same one that lldb is built with.<br>
<br>
This still requires the user do know which python interpreter to use<br>
when running lldb-dotest, but now he is at least able to choose it, if<br>
he knows which one to use.<br>
<br>
Modified:<br>
    lldb/trunk/utils/lldb-dotest/<a href="http://lldb-dotest.in" rel="noreferrer" target="_blank">lldb-dotest.in</a><br>
<br>
Modified: lldb/trunk/utils/lldb-dotest/<a href="http://lldb-dotest.in" rel="noreferrer" target="_blank">lldb-dotest.in</a><br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/utils/lldb-dotest/lldb-dotest.in?rev=354105&r1=354104&r2=354105&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lldb/trunk/utils/lldb-dotest/lldb-dotest.in?rev=354105&r1=354104&r2=354105&view=diff</a><br>
==============================================================================<br>
--- lldb/trunk/utils/lldb-dotest/<a href="http://lldb-dotest.in" rel="noreferrer" target="_blank">lldb-dotest.in</a> (original)<br>
+++ lldb/trunk/utils/lldb-dotest/<a href="http://lldb-dotest.in" rel="noreferrer" target="_blank">lldb-dotest.in</a> Thu Feb 14 23:41:17 2019<br>
@@ -9,7 +9,7 @@ if __name__ == '__main__':<br>
     wrapper_args = sys.argv[1:]<br>
     dotest_args = dotest_args_str.split(';')<br>
     # Build dotest.py command.<br>
-    cmd = [dotest_path, '-q']<br>
+    cmd = [sys.executable, dotest_path, '-q']<br>
     cmd.extend(dotest_args)<br>
     cmd.extend(wrapper_args)<br>
     # Invoke dotest.py and return exit code.<br>
<br>
<br>
_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</a><br>
</blockquote></div>