mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
Converted TestFunctionTypes.py to Dsym/Dwarf combination.
llvm-svn: 113029
This commit is contained in:
parent
84c96b84bd
commit
1cdadddf36
@ -9,7 +9,18 @@ class FunctionTypesTestCase(TestBase):
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user