[Lldb-commits] [lldb] r238438 - Add a comment explaining the eCommandRequiresTarget test

Ed Maste emaste at freebsd.org
Thu May 28 09:06:48 PDT 2015


Author: emaste
Date: Thu May 28 11:06:48 2015
New Revision: 238438

URL: http://llvm.org/viewvc/llvm-project?rev=238438&view=rev
Log:
Add a comment explaining the eCommandRequiresTarget test

llvm.org/pr23686

Modified:
    lldb/trunk/test/functionalities/command_script/TestCommandScript.py

Modified: lldb/trunk/test/functionalities/command_script/TestCommandScript.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/command_script/TestCommandScript.py?rev=238438&r1=238437&r2=238438&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/command_script/TestCommandScript.py (original)
+++ lldb/trunk/test/functionalities/command_script/TestCommandScript.py Thu May 28 11:06:48 2015
@@ -25,6 +25,8 @@ class CmdPythonTestCase(TestBase):
     def pycmd_tests (self):
         self.runCmd("command source py_import")
 
+        # Verify command that specifies eCommandRequiresTarget returns failure
+        # without a target.
         self.expect('targetname',
             substrs = ['a.out'], matching=False, error=True)
 





More information about the lldb-commits mailing list