[Lldb-commits] [PATCH] D16125: [TestThreadJump] Adjust match sub-string after recent change.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 12 14:14:47 PST 2016


sivachandra created this revision.
sivachandra added a reviewer: zturner.
sivachandra added a subscriber: lldb-commits.

http://reviews.llvm.org/D16125

Files:
  packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py

Index: packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py
+++ packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py
@@ -34,7 +34,7 @@
         # The stop reason of the thread should be breakpoint 1.
         self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT + " 1",
             substrs = ['stopped',
-                       'main.cpp:{}, stop reason = breakpoint 1'.format(self.mark3)])
+                       "main.cpp:{0}, name = '{1}', stop reason = breakpoint 1".format(self.mark3, os.path.basename(exe))])
 
         self.do_min_test(self.mark3, self.mark1, "i", "4"); # Try the int path, force it to return 'a'
         self.do_min_test(self.mark3, self.mark2, "i", "5"); # Try the int path, force it to return 'b'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16125.44672.patch
Type: text/x-patch
Size: 924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160112/63b999cc/attachment.bin>


More information about the lldb-commits mailing list