[Lldb-commits] [lldb] r238558 - XFAIL two tests for android
Pavel Labath
labath at google.com
Fri May 29 07:54:46 PDT 2015
Author: labath
Date: Fri May 29 09:54:46 2015
New Revision: 238558
URL: http://llvm.org/viewvc/llvm-project?rev=238558&view=rev
Log:
XFAIL two tests for android
bug #23694
Modified:
lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py
lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py?rev=238558&r1=238557&r2=238558&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py (original)
+++ lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py Fri May 29 09:54:46 2015
@@ -67,6 +67,7 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
+ @expectedFailureAndroid("llvm.org/pr23694")
def test_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
Modified: lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py?rev=238558&r1=238557&r2=238558&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py (original)
+++ lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py Fri May 29 09:54:46 2015
@@ -67,6 +67,7 @@ class CrashingRecursiveInferiorTestCase(
self.recursive_inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
+ @expectedFailureAndroid("llvm.org/pr23694")
def test_recursive_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=238558&r1=238557&r2=238558&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri May 29 09:54:46 2015
@@ -654,6 +654,12 @@ def expectedFailureLinux(bugnumber=None,
def expectedFailureWindows(bugnumber=None, compilers=None):
return expectedFailureOS(['windows'], bugnumber, compilers)
+def expectedFailureAndroid(bugnumber=None):
+ def fn(self):
+ triple = self.dbg.GetSelectedPlatform().GetTriple()
+ return re.match(".*-.*-.*-android", triple)
+ return expectedFailure(fn, bugnumber)
+
def expectedFailureLLGS(bugnumber=None, compilers=None):
def fn(self):
# llgs local is only an option on Linux targets
More information about the lldb-commits
mailing list