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

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 11 10:54:57 PST 2016


Thank you for fixing this! It was my bad.

-Chris

> On Nov 11, 2016, at 3:39 AM, Tamas Berghammer via lldb-commits <lldb-commits at lists.llvm.org> wrote:
> 
> 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)
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits



More information about the lldb-commits mailing list