[Lldb-commits] [lldb] r155405 - /lldb/branches/lldb-platform-work/test/python_api/process/TestProcessAPI.py

Johnny Chen johnny.chen at apple.com
Mon Apr 23 16:06:29 PDT 2012


Author: johnny
Date: Mon Apr 23 18:06:28 2012
New Revision: 155405

URL: http://llvm.org/viewvc/llvm-project?rev=155405&view=rev
Log:
Remove the redundant "file a.out" command from the test sequence.

Modified:
    lldb/branches/lldb-platform-work/test/python_api/process/TestProcessAPI.py

Modified: lldb/branches/lldb-platform-work/test/python_api/process/TestProcessAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/test/python_api/process/TestProcessAPI.py?rev=155405&r1=155404&r2=155405&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/test/python_api/process/TestProcessAPI.py (original)
+++ lldb/branches/lldb-platform-work/test/python_api/process/TestProcessAPI.py Mon Apr 23 18:06:28 2012
@@ -72,7 +72,6 @@
     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)
@@ -154,7 +153,6 @@
     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)
@@ -205,7 +203,6 @@
     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)
@@ -294,7 +291,6 @@
     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)





More information about the lldb-commits mailing list