diff options
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r-- | lldb/test/python_api/hello_world/TestHelloWorld.py | 4 | ||||
-rw-r--r-- | lldb/test/python_api/process/TestProcessAPI.py | 4 | ||||
-rw-r--r-- | lldb/test/python_api/target/TestTargetAPI.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lldb/test/python_api/hello_world/TestHelloWorld.py b/lldb/test/python_api/hello_world/TestHelloWorld.py index d4fabbbb25d..d1e7d89114d 100644 --- a/lldb/test/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/python_api/hello_world/TestHelloWorld.py @@ -33,6 +33,7 @@ class HelloWorldTestCase(TestBase): self.setTearDownCleanup(dictionary=self.d) self.hello_world_python() + @not_remote_testsuite_ready @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @python_api_test @dsym_test @@ -45,6 +46,7 @@ class HelloWorldTestCase(TestBase): self.setTearDownCleanup(dictionary=self.d) self.hello_world_attach_with_id_api() + @not_remote_testsuite_ready @python_api_test @dwarf_test def test_with_dwarf_and_attach_to_process_with_id_api(self): @@ -56,6 +58,7 @@ class HelloWorldTestCase(TestBase): self.setTearDownCleanup(dictionary=self.d) self.hello_world_attach_with_id_api() + @not_remote_testsuite_ready @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") @python_api_test @dsym_test @@ -69,6 +72,7 @@ class HelloWorldTestCase(TestBase): self.hello_world_attach_with_name_api() @expectedFailureFreeBSD('llvm.org/pr16699') # attach by name not on FreeBSD yet + @not_remote_testsuite_ready @python_api_test @dwarf_test def test_with_dwarf_and_attach_to_process_with_name_api(self): diff --git a/lldb/test/python_api/process/TestProcessAPI.py b/lldb/test/python_api/process/TestProcessAPI.py index 1d8c9e16847..016fc1271cd 100644 --- a/lldb/test/python_api/process/TestProcessAPI.py +++ b/lldb/test/python_api/process/TestProcessAPI.py @@ -78,7 +78,6 @@ class ProcessAPITestCase(TestBase): def read_memory(self): """Test Python SBProcess.ReadMemory() API.""" exe = os.path.join(os.getcwd(), "a.out") - self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) target = self.dbg.CreateTarget(exe) self.assertTrue(target, VALID_TARGET) @@ -160,7 +159,6 @@ class ProcessAPITestCase(TestBase): def write_memory(self): """Test Python SBProcess.WriteMemory() API.""" exe = os.path.join(os.getcwd(), "a.out") - self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) target = self.dbg.CreateTarget(exe) self.assertTrue(target, VALID_TARGET) @@ -211,7 +209,6 @@ class ProcessAPITestCase(TestBase): def access_my_int(self): """Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs.""" exe = os.path.join(os.getcwd(), "a.out") - self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) target = self.dbg.CreateTarget(exe) self.assertTrue(target, VALID_TARGET) @@ -300,7 +297,6 @@ class ProcessAPITestCase(TestBase): def remote_launch_should_fail(self): """Test SBProcess.RemoteLaunch() API with a process not in eStateConnected, and it should fail.""" exe = os.path.join(os.getcwd(), "a.out") - self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) target = self.dbg.CreateTarget(exe) self.assertTrue(target, VALID_TARGET) diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py index 27dd3799709..8f2a6dee01b 100644 --- a/lldb/test/python_api/target/TestTargetAPI.py +++ b/lldb/test/python_api/target/TestTargetAPI.py @@ -195,7 +195,7 @@ class TargetAPITestCase(TestBase): self.expect(desc, exe=False, substrs = ['a.out', 'Target', 'Module', 'Breakpoint']) - + @not_remote_testsuite_ready def launch_new_process_and_redirect_stdout(self): """Exercise SBTaget.Launch() API with redirected stdout.""" exe = os.path.join(os.getcwd(), "a.out") |