[Lldb-commits] [lldb] r155219 - /lldb/branches/lldb-platform-work/test/lldbtest.py
Johnny Chen
johnny.chen at apple.com
Fri Apr 20 12:10:11 PDT 2012
Author: johnny
Date: Fri Apr 20 14:10:11 2012
New Revision: 155219
URL: http://llvm.org/viewvc/llvm-project?rev=155219&view=rev
Log:
Strip the command string passed in to TestBase.runCmd() was a mistake.
For one thing, it makes test cases fail where raw input is expected and the trailing space(s) get stripped because of the above action.
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=155219&r1=155218&r2=155219&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/test/lldbtest.py (original)
+++ lldb/branches/lldb-platform-work/test/lldbtest.py Fri Apr 20 14:10:11 2012
@@ -1110,7 +1110,6 @@
return status.
"""
# Fail fast if 'cmd' is not meaningful.
- cmd = cmd.strip()
if not cmd or len(cmd) == 0:
raise Exception("Bad 'cmd' parameter encountered")
More information about the lldb-commits
mailing list