[Lldb-commits] [lldb] r110064 - /lldb/trunk/test/command_source/TestCommandSource.py
Johnny Chen
johnny.chen at apple.com
Mon Aug 2 14:19:08 PDT 2010
Author: johnny
Date: Mon Aug 2 16:19:08 2010
New Revision: 110064
URL: http://llvm.org/viewvc/llvm-project?rev=110064&view=rev
Log:
Cleanup of test case. Added more comments.
Modified:
lldb/trunk/test/command_source/TestCommandSource.py
Modified: lldb/trunk/test/command_source/TestCommandSource.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/command_source/TestCommandSource.py?rev=110064&r1=110063&r2=110064&view=diff
==============================================================================
--- lldb/trunk/test/command_source/TestCommandSource.py (original)
+++ lldb/trunk/test/command_source/TestCommandSource.py Mon Aug 2 16:19:08 2010
@@ -1,5 +1,7 @@
"""
Test that lldb command "command source" works correctly.
+
+See also http://llvm.org/viewvc/llvm-project?view=rev&revision=109673.
"""
import os, time
@@ -20,12 +22,12 @@
self.ci.HandleCommand("command source .lldb", res)
self.assertTrue(res.Succeeded())
+ # Python should evaluate "my.date()" successfully.
self.ci.HandleCommand("script my.date()", res)
if (not res.Succeeded()):
print res.GetError()
self.assertTrue(res.Succeeded())
- time.sleep(1)
if __name__ == '__main__':
lldb.SBDebugger.Initialize()
More information about the lldb-commits
mailing list