diff options
| author | Tatyana Krasnukha <tatyana@synopsys.com> | 2021-02-04 01:02:31 +0300 |
|---|---|---|
| committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2021-02-08 15:10:48 +0300 |
| commit | 05d7d6949c7cd3f1566d4c8394fa59160a7ffd05 (patch) | |
| tree | 7bcea3bbf63b43121fd01844974bb10afc467cd8 /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | f9c5e1664e081031e7deec3df49953952771d21b (diff) | |
[lldb/tests] Removed add_test_categories decorator for python API tests, NFC
There is a .categories file in the python_api directory that makes all nested tests
belong to the category "pyapi". The decorator is unnecessary for these tests.
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
| -rw-r--r-- | lldb/test/API/python_api/process/TestProcessAPI.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/test/API/python_api/process/TestProcessAPI.py b/lldb/test/API/python_api/process/TestProcessAPI.py index 7174ba1c64c4..942e2616c409 100644 --- a/lldb/test/API/python_api/process/TestProcessAPI.py +++ b/lldb/test/API/python_api/process/TestProcessAPI.py @@ -23,7 +23,6 @@ class ProcessAPITestCase(TestBase): "main.cpp", "// Set break point at this line and check variable 'my_char'.") - @add_test_categories(['pyapi']) @skipIfReproducer # SBProcess::ReadMemory is not instrumented. def test_read_memory(self): """Test Python SBProcess.ReadMemory() API.""" @@ -122,7 +121,6 @@ class ProcessAPITestCase(TestBase): self.fail( "Result from SBProcess.ReadUnsignedFromMemory() does not match our expected output") - @add_test_categories(['pyapi']) @skipIfReproducer # SBProcess::WriteMemory is not instrumented. def test_write_memory(self): """Test Python SBProcess.WriteMemory() API.""" @@ -182,7 +180,6 @@ class ProcessAPITestCase(TestBase): exe=False, startstr=b'a') - @add_test_categories(['pyapi']) @skipIfReproducer # SBProcess::WriteMemory is not instrumented. def test_access_my_int(self): """Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs.""" @@ -281,7 +278,6 @@ class ProcessAPITestCase(TestBase): for i in content: print("byte:", i) - @add_test_categories(['pyapi']) def test_remote_launch(self): """Test SBProcess.RemoteLaunch() API with a process not in eStateConnected, and it should fail.""" self.build() @@ -305,7 +301,6 @@ class ProcessAPITestCase(TestBase): not success, "RemoteLaunch() should fail for process state != eStateConnected") - @add_test_categories(['pyapi']) def test_get_num_supported_hardware_watchpoints(self): """Test SBProcess.GetNumSupportedHardwareWatchpoints() API with a process.""" self.build() @@ -327,7 +322,6 @@ class ProcessAPITestCase(TestBase): if self.TraceOn() and error.Success(): print("Number of supported hardware watchpoints: %d" % num) - @add_test_categories(['pyapi']) @no_debug_info_test def test_get_process_info(self): """Test SBProcess::GetProcessInfo() API with a locally launched process.""" |
