[Lldb-commits] [lldb] r155383 - /lldb/branches/lldb-platform-work/test/lldbtest.py

Johnny Chen johnny.chen at apple.com
Mon Apr 23 12:24:41 PDT 2012


Author: johnny
Date: Mon Apr 23 14:24:41 2012
New Revision: 155383

URL: http://llvm.org/viewvc/llvm-project?rev=155383&view=rev
Log:
Fix one remote test case failure in TestTargetCommand.py.  The "target create" command string should also be properly intercepted and modified for remote testsuite.

Modified:
    lldb/branches/lldb-platform-work/test/lldbtest.py

Modified: lldb/branches/lldb-platform-work/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/test/lldbtest.py?rev=155383&r1=155382&r2=155383&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/test/lldbtest.py (original)
+++ lldb/branches/lldb-platform-work/test/lldbtest.py Mon Apr 23 14:24:41 2012
@@ -1132,6 +1132,8 @@
 
         # This is an opportunity to insert the 'platform target-install' command if we are told so
         # via the settig of lldb.lldbtest_remote_sandbox.
+        if cmd.startswith("target create "):
+            cmd = cmd.replace("target create ", "file ")
         if cmd.startswith("file ") and lldb.lldbtest_remote_sandbox:
             with recording(self, trace) as sbuf:
                 target = cmd.split("file ")[1]





More information about the lldb-commits mailing list