diff options
author | Johnny Chen <johnny.chen@apple.com> | 2012-04-06 19:54:10 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2012-04-06 19:54:10 +0000 |
commit | 24086bc93b9489fb28eab1604d32c640f4bed464 (patch) | |
tree | eaa229a2e3b32b8c4f1cd41e2c5641de18f360c3 /lldb/test/python_api/process | |
parent | e110fe4ac703985dfe7ed07d4784763a520696d7 (diff) | |
download | bcm5719-llvm-24086bc93b9489fb28eab1604d32c640f4bed464.tar.gz bcm5719-llvm-24086bc93b9489fb28eab1604d32c640f4bed464.zip |
Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases.
Plus some minor cleanup of test method names.
Third and final batch is coming.
llvm-svn: 154197
Diffstat (limited to 'lldb/test/python_api/process')
-rw-r--r-- | lldb/test/python_api/process/TestProcessAPI.py | 6 | ||||
-rw-r--r-- | lldb/test/python_api/process/io/TestProcessIO.py | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/python_api/process/TestProcessAPI.py b/lldb/test/python_api/process/TestProcessAPI.py index 35bc0eba264..95c964c8b04 100644 --- a/lldb/test/python_api/process/TestProcessAPI.py +++ b/lldb/test/python_api/process/TestProcessAPI.py @@ -14,12 +14,14 @@ class ProcessAPITestCase(TestBase): @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @python_api_test + @dsym_test def test_read_memory_with_dsym(self): """Test Python SBProcess.ReadMemory() API.""" self.buildDsym() self.read_memory() @python_api_test + @dwarf_test def test_read_memory_with_dwarf(self): """Test Python SBProcess.ReadMemory() API.""" self.buildDwarf() @@ -27,12 +29,14 @@ class ProcessAPITestCase(TestBase): @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @python_api_test + @dsym_test def test_write_memory_with_dsym(self): """Test Python SBProcess.WriteMemory() API.""" self.buildDsym() self.write_memory() @python_api_test + @dwarf_test def test_write_memory_with_dwarf(self): """Test Python SBProcess.WriteMemory() API.""" self.buildDwarf() @@ -40,12 +44,14 @@ class ProcessAPITestCase(TestBase): @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @python_api_test + @dsym_test def test_access_my_int_with_dsym(self): """Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs.""" self.buildDsym() self.access_my_int() @python_api_test + @dwarf_test def test_access_my_int_with_dwarf(self): """Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs.""" self.buildDwarf() diff --git a/lldb/test/python_api/process/io/TestProcessIO.py b/lldb/test/python_api/process/io/TestProcessIO.py index d99632f98bb..4d6a0221d3e 100644 --- a/lldb/test/python_api/process/io/TestProcessIO.py +++ b/lldb/test/python_api/process/io/TestProcessIO.py @@ -11,12 +11,14 @@ class ProcessIOTestCase(TestBase): @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @python_api_test + @dsym_test def test_put_stdin_with_dsym(self): """Exercise SBProcess.PutSTDIN().""" self.buildDsym() self.put_stdin() @python_api_test + @dwarf_test def test_put_stdin_with_dwarf(self): """Exercise SBProcess.PutSTDIN().""" self.buildDwarf() |