Some more test marking
authorEnrico Granata <egranata@apple.com>
Thu, 16 Oct 2014 23:03:06 +0000 (23:03 +0000)
committerEnrico Granata <egranata@apple.com>
Thu, 16 Oct 2014 23:03:06 +0000 (23:03 +0000)
llvm-svn: 219981

lldb/test/api/multiple-debuggers/multi-process-driver.cpp
lldb/test/api/multithreaded/TestMultithreaded.py
lldb/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py

index 1bab2c0..397628a 100644 (file)
 #include <stdlib.h>
 
 
-#ifdef __APPLE__
-#include <LLDB/LLDB.h>
-#include <LLDB/SBCommandInterpreter.h>
-#include <LLDB/SBCommandReturnObject.h>
-#include <LLDB/SBDebugger.h>
-#else
 #include "lldb/API/LLDB.h"
-#include <lldb/API/SBCommandInterpreter.h>
-#include <lldb/API/SBCommandReturnObject.h>
-#include <lldb/API/SBDebugger.h>
-#endif
+#include "lldb/API/SBCommandInterpreter.h"
+#include "lldb/API/SBCommandReturnObject.h"
+#include "lldb/API/SBDebugger.h"
 
 #include <chrono>
 #include <thread>
index 8e72268..972ecd7 100644 (file)
@@ -18,7 +18,7 @@ class SBBreakpointCallbackCase(TestBase):
           self.buildProgram('inferior.cpp', self.inferior)
           self.addTearDownHook(lambda: os.remove(self.inferior))
 
-    @unittest2.expectedFailure # llvm.org/pr16000: SBBreakpoint.SetCallback() does nothing
+    @unittest2.expectedFailure("llvm.org/pr16000: SBBreakpoint.SetCallback() does nothing")
     @skipIfi386
     @skipIfRemote
     @skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
index 4d8e309..d494fa6 100644 (file)
@@ -15,7 +15,7 @@ class ObjCDynamicValueTestCase(TestBase):
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @python_api_test
     @dsym_test
-    @expectedFailureDarwin("llvm.org/pr20271")
+    @expectedFailureDarwin("llvm.org/pr20271 rdar://18684107")
     def test_get_dynamic_objc_vals_with_dsym(self):
         """Test fetching ObjC dynamic values."""
         if self.getArchitecture() == 'i386':
@@ -27,7 +27,7 @@ class ObjCDynamicValueTestCase(TestBase):
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @python_api_test
     @dwarf_test
-    @expectedFailureDarwin("llvm.org/pr20271")
+    @expectedFailureDarwin("llvm.org/pr20271 rdar://18684107")
     def test_get_objc_dynamic_vals_with_dwarf(self):
         """Test fetching ObjC dynamic values."""
         if self.getArchitecture() == 'i386':
@@ -126,14 +126,15 @@ class ObjCDynamicValueTestCase(TestBase):
         # This test is not entirely related to the main thrust of this test case, but since we're here,
         # try stepping into setProperty, and make sure we get into the version in Source:
 
+        self.runCmd("log enable lldb step")
         thread.StepInto()
 
         threads = lldbutil.get_stopped_threads (process, lldb.eStopReasonPlanComplete)
         self.assertTrue (len(threads) == 1)
         line_entry = threads[0].GetFrameAtIndex(0).GetLineEntry()
 
-        self.assertTrue (line_entry.GetLine() == self.set_property_line)
-        self.assertTrue (line_entry.GetFileSpec().GetFilename() == self.source_name) 
+        self.assertEqual (line_entry.GetLine(), self.set_property_line)
+        self.assertEqual (line_entry.GetFileSpec().GetFilename(), self.source_name) 
 
         # Okay, back to the main business.  Continue to the handle_SourceBase and make sure we get the correct dynamic value.