diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-09-03 23:14:26 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-09-03 23:14:26 +0000 |
commit | 1cdadddf3620b48488c0c6401339f2f8d23f1da2 (patch) | |
tree | 53f2dd6f7c935486092a3c3eca9957212805f753 | |
parent | 84c96b84bdf5b9bd0eb023b13d091a9b333d0ea8 (diff) | |
download | llvm-1cdadddf3620b48488c0c6401339f2f8d23f1da2.zip llvm-1cdadddf3620b48488c0c6401339f2f8d23f1da2.tar.gz llvm-1cdadddf3620b48488c0c6401339f2f8d23f1da2.tar.bz2 |
Converted TestFunctionTypes.py to Dsym/Dwarf combination.
llvm-svn: 113029
-rw-r--r-- | lldb/test/function_types/TestFunctionTypes.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lldb/test/function_types/TestFunctionTypes.py b/lldb/test/function_types/TestFunctionTypes.py index 90eb2bf..24d133d 100644 --- a/lldb/test/function_types/TestFunctionTypes.py +++ b/lldb/test/function_types/TestFunctionTypes.py @@ -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) |