[Lldb-commits] [lldb] r128581 - /lldb/trunk/test/source-manager/TestSourceManager.py

Johnny Chen johnny.chen at apple.com
Wed Mar 30 15:28:50 PDT 2011


Author: johnny
Date: Wed Mar 30 17:28:50 2011
New Revision: 128581

URL: http://llvm.org/viewvc/llvm-project?rev=128581&view=rev
Log:
Modify self.expect() patterns to react to API change for SourceManager.DisplaySourceLinesWithLineNumbers().

Modified:
    lldb/trunk/test/source-manager/TestSourceManager.py

Modified: lldb/trunk/test/source-manager/TestSourceManager.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/source-manager/TestSourceManager.py?rev=128581&r1=128580&r2=128581&view=diff
==============================================================================
--- lldb/trunk/test/source-manager/TestSourceManager.py (original)
+++ lldb/trunk/test/source-manager/TestSourceManager.py Wed Mar 30 17:28:50 2011
@@ -62,14 +62,14 @@
                                                      "=>", # prefix for current line
                                                      stream)
 
-        # 2   	
-        # 3   	int main(int argc, char const *argv[]) {
-        # 4 =>	    printf("Hello world.\n"); // Set break point at this line.
-        # 5   	    return 0;
-        # 6   	}
+        #    2   	
+        #    3    int main(int argc, char const *argv[]) {
+        # => 4        printf("Hello world.\n"); // Set break point at this line.
+        #    5        return 0;
+        #    6    }
         self.expect(stream.GetData(), "Source code displayed correctly",
                     exe=False,
-            patterns = ['%d =>.*Hello world' % self.line])        
+            patterns = ['=> %d.*Hello world' % self.line])        
 
     def modify_source_file_while_debugging(self):
         """Modify a source file while debugging the executable."""





More information about the lldb-commits mailing list