[Lldb-commits] [PATCH] D43546: Fix TestMultithreaded when specifying an alternative debugserver.

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 22 21:05:31 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL325858: Fix TestMultithreaded when specifying an alternative debugserver. (authored by friss, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D43546

Files:
  lldb/trunk/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py


Index: lldb/trunk/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
+++ lldb/trunk/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
@@ -101,6 +101,8 @@
         exe = [test_exe, self.getBuildArtifact(self.inferior)]
 
         env = {self.dylibPath: self.getLLDBLibraryEnvVal()}
+        if os.environ['LLDB_DEBUGSERVER_PATH']:
+            env['LLDB_DEBUGSERVER_PATH'] = os.environ['LLDB_DEBUGSERVER_PATH']
         if self.TraceOn():
             print("Running test %s" % " ".join(exe))
             check_call(exe, env=env)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43546.135589.patch
Type: text/x-patch
Size: 722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180223/27b62294/attachment.bin>


More information about the lldb-commits mailing list