forked from OSchip/llvm-project
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"
|
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."""
|
"""Test 'callback' has function ptr type, then break on the function."""
|
||||||
exe = os.path.join(os.getcwd(), "a.out")
|
exe = os.path.join(os.getcwd(), "a.out")
|
||||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||||
|
|
Loading…
Reference in New Issue