[Lldb-commits] [lldb] r113241 - /lldb/trunk/test/stl/TestSTL.py

Johnny Chen johnny.chen at apple.com
Tue Sep 7 11:27:35 PDT 2010


Author: johnny
Date: Tue Sep  7 13:27:35 2010
New Revision: 113241

URL: http://llvm.org/viewvc/llvm-project?rev=113241&view=rev
Log:
Converted TestSTL.py to Dsym/Dwarf combination.

Modified:
    lldb/trunk/test/stl/TestSTL.py

Modified: lldb/trunk/test/stl/TestSTL.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/stl/TestSTL.py?rev=113241&r1=113240&r2=113241&view=diff
==============================================================================
--- lldb/trunk/test/stl/TestSTL.py (original)
+++ lldb/trunk/test/stl/TestSTL.py Tue Sep  7 13:27:35 2010
@@ -11,8 +11,20 @@
 
     mydir = "stl"
 
+    @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @unittest2.expectedFailure
-    def test_step_into_stl(self):
+    def test_with_dsym(self):
+        """Test that we can successfully step into an STL function."""
+        self.buildDsym()
+        self.step_into_stl()
+
+    @unittest2.expectedFailure
+    def test_with_dwarf(self):
+        """Test that we can successfully step into an STL function."""
+        self.buildDwarf()
+        self.step_into_stl()
+
+    def step_into_stl(self):
         """Test that we can successfully step into an STL function."""
         exe = os.path.join(os.getcwd(), "a.out")
 





More information about the lldb-commits mailing list