[Lldb-commits] [PATCH] D14765: Support unix-abstract-connect scheme as platform url in lldb testsuite

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 18 10:28:29 PST 2015


ovyalov accepted this revision.
ovyalov added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: packages/Python/lldbsuite/test/lldbtest.py:464
@@ -463,3 +463,3 @@
         parsed_url = urlparse.urlparse(lldb.platform_url)
-        if parsed_url.scheme == "adb":
+        if parsed_url.netloc.split(":")[0] != 'localhost':
             device_id = parsed_url.netloc.split(":")[0]
----------------
Nit - you may save parsed_url.netloc.split(":")[0] as local variable like host_name


http://reviews.llvm.org/D14765





More information about the lldb-commits mailing list