From 8492f2081d1f1a564caddd7dbfb553855873b583 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Fri, 23 Feb 2018 05:03:09 +0000 Subject: Fix TestMultithreaded when specifying an alternative debugserver. Summary: This test launches a helper that uses the debugserver. The environment variable sepcifying the debug server wasn't passed to this helper, thus it was using the default one. Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D43546 llvm-svn: 325858 --- .../Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py') diff --git a/lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py b/lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py index 5789c44a2fc..36c4d928262 100644 --- a/lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py +++ b/lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py @@ -101,6 +101,8 @@ class SBBreakpointCallbackCase(TestBase): 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) -- cgit v1.2.3