[Lldb-commits] [lldb] r258578 - XFail a test from TestConditionalBreak.py on Windows.

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 22 15:05:47 PST 2016


Author: amccarth
Date: Fri Jan 22 17:05:47 2016
New Revision: 258578

URL: http://llvm.org/viewvc/llvm-project?rev=258578&view=rev
Log:
XFail a test from TestConditionalBreak.py on Windows.

Filed a bug to investigate later:  llvm.org/pr26265

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py?rev=258578&r1=258577&r2=258578&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py Fri Jan 22 17:05:47 2016
@@ -32,6 +32,7 @@ class ConditionalBreakTestCase(TestBase)
         self.build()
         self.simulate_conditional_break_by_user()
 
+    @expectedFailureWindows("llvm.org/pr26265")  # args in frames other than #0 are not evaluated correctly
     def do_conditional_break(self):
         """Exercise some thread and frame APIs to break if c() is called by a()."""
         exe = os.path.join(os.getcwd(), "a.out")
@@ -83,8 +84,8 @@ class ConditionalBreakTestCase(TestBase)
 
                     # And the local variable 'val' should have a value of (int) 3.
                     val = frame1.FindVariable("val")
-                    self.assertTrue(val.GetTypeName() == "int", "'val' has int type")
-                    self.assertTrue(val.GetValue() == "3", "'val' has a value of 3")
+                    self.assertEqual("int", val.GetTypeName())
+                    self.assertEqual("3", val.GetValue())
                     break
 
             process.Continue()




More information about the lldb-commits mailing list