[Lldb-commits] [lldb] r112670 - /lldb/trunk/test/dead-strip/TestDeadStrip.py
Johnny Chen
johnny.chen at apple.com
Tue Aug 31 16:12:15 PDT 2010
Author: johnny
Date: Tue Aug 31 18:12:15 2010
New Revision: 112670
URL: http://llvm.org/viewvc/llvm-project?rev=112670&view=rev
Log:
Converted TestDeadStrip.py to Dsym/Dwarf combination.
Modified:
lldb/trunk/test/dead-strip/TestDeadStrip.py
Modified: lldb/trunk/test/dead-strip/TestDeadStrip.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dead-strip/TestDeadStrip.py?rev=112670&r1=112669&r2=112670&view=diff
==============================================================================
--- lldb/trunk/test/dead-strip/TestDeadStrip.py (original)
+++ lldb/trunk/test/dead-strip/TestDeadStrip.py Tue Aug 31 18:12:15 2010
@@ -11,7 +11,18 @@
mydir = "dead-strip"
- def test_dead_strip(self):
+ @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ def test_with_dsym(self):
+ """Test breakpoint works correctly with dead-code stripping."""
+ self.buildDsym()
+ self.dead_strip()
+
+ def test_with_dwarf(self):
+ """Test breakpoint works correctly with dead-code stripping."""
+ self.buildDwarf()
+ self.dead_strip()
+
+ def dead_strip(self):
"""Test breakpoint works correctly with dead-code stripping."""
exe = os.path.join(os.getcwd(), "a.out")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
More information about the lldb-commits
mailing list