[Lldb-commits] [PATCH] D15904: Fix tests after svn r256863 - can someone please commit?

Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 5 16:07:30 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL256877: Apply missed changes from svn r256863 "Add support for "source info" and useā€¦ (authored by dperchik).

Changed prior to commit:
  http://reviews.llvm.org/D15904?vs=44061&id=44067#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D15904

Files:
  lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
  lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py
  lldb/trunk/tools/lldb-mi/MICmdCmdSymbol.cpp

Index: lldb/trunk/tools/lldb-mi/MICmdCmdSymbol.cpp
===================================================================
--- lldb/trunk/tools/lldb-mi/MICmdCmdSymbol.cpp
+++ lldb/trunk/tools/lldb-mi/MICmdCmdSymbol.cpp
@@ -106,8 +106,8 @@
 {
     // Match LineEntry using regex.
     static MIUtilParse::CRegexParser g_lineentry_header_regex( 
-        "^ *Lines for file (.+) in compilation unit (.+) in `(.+)$");
-        //                 ^1=file                  ^2=cu    ^3=module
+        "^ *Lines found for file (.+) in compilation unit (.+) in `(.+)$");
+        //                       ^1=file                  ^2=cu    ^3=module
 
     MIUtilParse::CRegexParser::Match match(4);
 
Index: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py
@@ -63,11 +63,11 @@
 
         # Test that -symbol-list-lines fails when file doesn't exist
         self.runCmd("-symbol-list-lines unknown_file")
-        self.expect("\^error,message=\"warning: No source filenames matched 'unknown_file'\. error: no source filenames matched any command arguments \"")
+        self.expect("\^error,message=\"error: No source filenames matched 'unknown_file'\. \"")
 
         # Test that -symbol-list-lines fails when file is specified using relative path
         self.runCmd("-symbol-list-lines ./main.cpp")
-        self.expect("\^error,message=\"warning: No source filenames matched '\./main\.cpp'\. error: no source filenames matched any command arguments \"")
+        self.expect("\^error,message=\"error: No source filenames matched '\./main\.cpp'\. \"")
 
         # Test that -symbol-list-lines works when file is specified using absolute path
         import os
@@ -77,4 +77,4 @@
 
         # Test that -symbol-list-lines fails when file doesn't exist
         self.runCmd("-symbol-list-lines unknown_dir/main.cpp")
-        self.expect("\^error,message=\"warning: No source filenames matched 'unknown_dir/main\.cpp'\. error: no source filenames matched any command arguments \"")
+        self.expect("\^error,message=\"error: No source filenames matched 'unknown_dir/main\.cpp'\. \"")
Index: lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
+++ lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
@@ -134,10 +134,10 @@
 
     @no_debug_info_test
     def test_help_image_du_line_should_work(self):
-        """Command 'help image du line' is not ambiguous and should work."""
+        """Command 'help image du line-table' is not ambiguous and should work."""
         # 'image' is an alias for 'target modules'.
         self.expect("help image du line",
-            substrs = ['Dump the line table for one or more files'])
+            substrs = ['Dump the line table for one or more compilation units'])
 
     @no_debug_info_test
     def test_help_target_variable_syntax(self):


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15904.44067.patch
Type: text/x-patch
Size: 3191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160106/f08e51da/attachment-0001.bin>


More information about the lldb-commits mailing list