[Lldb-commits] [PATCH] D17131: [LLDB][MIPS] Fix TestInferiorAssert.py for MIPS

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 11 23:23:59 PST 2016


Not going to block the change over this, but just as an fyi, you can
specify regexes without usign `re.compile`.  You can literally just pass a
string that is a regex, it will still work

On Thu, Feb 11, 2016 at 11:22 PM Nitesh Jain via lldb-commits <
lldb-commits at lists.llvm.org> wrote:

> nitesh.jain updated this revision to Diff 47767.
> nitesh.jain added a comment.
>
> Updated as per suggestion.
>
>
> Repository:
>   rL LLVM
>
> http://reviews.llvm.org/D17131
>
> Files:
>
> packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
>
> Index:
> packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
> ===================================================================
> ---
> packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
> +++
> packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
> @@ -17,6 +17,7 @@
>
>      @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793:
> need to implement support for detecting assertion / abort on Windows")
>      @expectedFailureLinux("llvm.org/pr25338", archs=['arm'])
> +    @expectedFailureAll(bugnumber="llvm.org/pr26592", triple =
> re.compile('^mips'))
>      def test_inferior_asserting(self):
>          """Test that lldb reliably catches the inferior asserting
> (command)."""
>          self.build()
> @@ -31,6 +32,7 @@
>
>      @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793:
> need to implement support for detecting assertion / abort on Windows")
>      @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm'])
> +    @expectedFailureAll(bugnumber="llvm.org/pr26592", triple =
> re.compile('^mips'))
>      def test_inferior_asserting_disassemble(self):
>          """Test that lldb reliably disassembles frames after asserting
> (command)."""
>          self.build()
> @@ -45,6 +47,7 @@
>
>      @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793:
> need to implement support for detecting assertion / abort on Windows")
>      @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm'])
> +    @expectedFailureAll(bugnumber="llvm.org/pr26592", triple =
> re.compile('^mips'))
>      def test_inferior_asserting_expr(self):
>          """Test that the lldb expression interpreter can read from the
> inferior after asserting (command)."""
>          self.build()
> @@ -52,6 +55,7 @@
>
>      @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793:
> need to implement support for detecting assertion / abort on Windows")
>      @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm'])
> +    @expectedFailureAll(bugnumber="llvm.org/pr26592", triple =
> re.compile('^mips'))
>      def test_inferior_asserting_step(self):
>          """Test that lldb functions correctly after stepping through a
> call to assert()."""
>          self.build()
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160212/3cebcb13/attachment.html>


More information about the lldb-commits mailing list