[Lldb-commits] [lldb] r286581 - Fix TestHelp on linux after version number syntax change

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 11 03:39:23 PST 2016


Author: tberghammer
Date: Fri Nov 11 05:39:23 2016
New Revision: 286581

URL: http://llvm.org/viewvc/llvm-project?rev=286581&view=rev
Log:
Fix TestHelp on linux after version number syntax change

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py?rev=286581&r1=286580&r2=286581&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py Fri Nov 11 05:39:23 2016
@@ -94,7 +94,7 @@ class HelpCommandTestCase(TestBase):
         if sys.platform.startswith("darwin"):
             search_regexp = ['lldb-' + (version_str if match else '[0-9]+')]
         else:
-            search_regexp = ['lldb version (\d|\.)+.*$']
+            search_regexp = ['lldb version (\d|\.)+.*\n']
 
         self.expect("version",
                     patterns=search_regexp)




More information about the lldb-commits mailing list