[Lldb-commits] [lldb] r326264 - Fix lldbinline tests for remote targets

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 27 14:45:50 PST 2018


Author: labath
Date: Tue Feb 27 14:45:49 2018
New Revision: 326264

URL: http://llvm.org/viewvc/llvm-project?rev=326264&view=rev
Log:
Fix lldbinline tests for remote targets

r326140 exposed the fact that we are not actually running inline tests on
remote targets. The tests fail to launch the inferior in the first place
because they passed an invalid working directory to the launch function.

This should fix that.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py?rev=326264&r1=326263&r2=326264&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py Tue Feb 27 14:45:49 2018
@@ -181,7 +181,7 @@ class InlineTest(TestBase):
         parser.parse_source_files(source_files)
         parser.set_breakpoints(target)
 
-        process = target.LaunchSimple(None, None, self.getBuildDir())
+        process = target.LaunchSimple(None, None, self.get_process_working_directory())
         hit_breakpoints = 0
 
         while lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint):




More information about the lldb-commits mailing list