From 8402832e50e877f438c1c6deb589b705def23600 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 2 Aug 2010 21:19:08 +0000 Subject: [PATCH] Cleanup of test case. Added more comments. llvm-svn: 110064 --- lldb/test/command_source/TestCommandSource.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lldb/test/command_source/TestCommandSource.py b/lldb/test/command_source/TestCommandSource.py index 45611f4cb227..59a97e55c218 100644 --- a/lldb/test/command_source/TestCommandSource.py +++ b/lldb/test/command_source/TestCommandSource.py @@ -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 @@ class TestCommandSource(lldbtest.TestBase): 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()