[Lldb-commits] [lldb] r113029 - /lldb/trunk/test/function_types/TestFunctionTypes.py
Johnny Chen
johnny.chen at apple.com
Fri Sep 3 16:14:26 PDT 2010
Author: johnny
Date: Fri Sep 3 18:14:26 2010
New Revision: 113029
URL: http://llvm.org/viewvc/llvm-project?rev=113029&view=rev
Log:
Converted TestFunctionTypes.py to Dsym/Dwarf combination.
Modified:
lldb/trunk/test/function_types/TestFunctionTypes.py
Modified: lldb/trunk/test/function_types/TestFunctionTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/function_types/TestFunctionTypes.py?rev=113029&r1=113028&r2=113029&view=diff
==============================================================================
--- lldb/trunk/test/function_types/TestFunctionTypes.py (original)
+++ lldb/trunk/test/function_types/TestFunctionTypes.py Fri Sep 3 18:14:26 2010
@@ -9,7 +9,18 @@
mydir = "function_types"
- def test_function_types(self):
+ @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ def test_with_dsym(self):
+ """Test 'callback' has function ptr type, then break on the function."""
+ self.buildDsym()
+ self.function_types()
+
+ def test_with_dwarf(self):
+ """Test 'callback' has function ptr type, then break on the function."""
+ self.buildDwarf()
+ self.function_types()
+
+ def function_types(self):
"""Test 'callback' has function ptr type, then break on the function."""
exe = os.path.join(os.getcwd(), "a.out")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
More information about the lldb-commits
mailing list